ci: fix multi-arch runner builds (#2048)

* ci: fix multi-arch runner builds
This commit is contained in:
Callum Tait 2022-11-25 15:48:18 +00:00 committed by GitHub
parent 87f566e1e6
commit fcb65b046b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -63,10 +63,6 @@ jobs:
ghcr_username: ${{ github.actor }} ghcr_username: ${{ github.actor }}
ghcr_password: ${{ secrets.GITHUB_TOKEN }} ghcr_password: ${{ secrets.GITHUB_TOKEN }}
- name: Set-Up Build Environment
run: |
echo "TARGETPLATFORM=$(arch)" >> $GITHUB_ENV
- name: Build and Push Versioned Tags - name: Build and Push Versioned Tags
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
@ -75,7 +71,6 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
build-args: | build-args: |
TARGETPLATFORM=${{ env.TARGETPLATFORM }}
RUNNER_VERSION=${{ env.RUNNER_VERSION }} RUNNER_VERSION=${{ env.RUNNER_VERSION }}
DOCKER_VERSION=${{ env.DOCKER_VERSION }} DOCKER_VERSION=${{ env.DOCKER_VERSION }}
RUNNER_CONTAINER_HOOKS_VERSION=${{ env.RUNNER_CONTAINER_HOOKS_VERSION }} RUNNER_CONTAINER_HOOKS_VERSION=${{ env.RUNNER_CONTAINER_HOOKS_VERSION }}