Skip to content

Commit

Permalink
fix: specify platform for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
oreze committed Jul 15, 2024
1 parent 3864216 commit 3832afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Build and push Docker image
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/yaup-api:${{ github.sha }} ./src/YetAnotherUnfinishedProject.API
docker build --platform linux/amd64 -t ${{ secrets.DOCKER_USERNAME }}/yaup-api:${{ github.sha }} ./src/YetAnotherUnfinishedProject.API
docker push ${{ secrets.DOCKER_USERNAME }}/yaup-api:${{ github.sha }}
tailscale:
Expand Down

0 comments on commit 3832afa

Please sign in to comment.