Skip to content

Commit

Permalink
build multiplatform images
Browse files Browse the repository at this point in the history
  • Loading branch information
featheredtoast committed Nov 11, 2024
1 parent 877b8ee commit 157ffa0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ jobs:
TAG: ${{ (github.ref == 'refs/heads/main' && 'latest') || (github.ref == 'refs/heads/dev' && 'dev') || '' }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: build images
run: |
docker login --username featheredtoast --password ${{ secrets.DOCKER_PASSWORD }}
docker buildx build --push --load --tag featheredtoast/ficsit-remote-monitoring-cache:${{ env.TAG }} ./frmcache
docker buildx build --push --load --tag featheredtoast/ficsit-remote-monitoring-alertmanager-config:${{ env.TAG }} ./alertmanager-config
docker buildx build --push --load --tag featheredtoast/ficsit-remote-monitoring-companion:${{ env.TAG }} ./frmcompanion
docker login --username ${{ vars.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
docker buildx build --push --platform linux/amd64,linux/arm64 --tag featheredtoast/ficsit-remote-monitoring-cache:${{ env.TAG }} ./frmcache
docker buildx build --push --platform linux/amd64,linux/arm64 --tag featheredtoast/ficsit-remote-monitoring-alertmanager-config:${{ env.TAG }} ./alertmanager-config
docker buildx build --push --platform linux/amd64,linux/arm64 --tag featheredtoast/ficsit-remote-monitoring-companion:${{ env.TAG }} ./frmcompanion

0 comments on commit 157ffa0

Please sign in to comment.