fix(release): use buildx for docker image (#7030)

This commit is contained in:
Max Revitt 2023-03-06 11:47:48 +00:00 committed by GitHub
parent e3caa3cbba
commit 24773f08bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,6 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
- name: Publish downloads
run:
cd cmd/release && docker build --build-arg GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -t thorax/download:latest .
docker push thorax/download:latest
run: |
cd cmd/release
docker buildx build --push --platform linux/amd64 --build-arg GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" -t thorax/download:latest .