Skip to content

Commit

Permalink
update docker/build-push-action@v4 (#362)
Browse files Browse the repository at this point in the history
add platforms to build arm image
  • Loading branch information
Scarbous authored Aug 25, 2023
1 parent d673622 commit 450902e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ jobs:
- name: Coverage report
run: mix coveralls.post --token ${{ secrets.COVERALLS_REPO_TOKEN }} --name 'github-actions' --branch ${{ github.ref }} --committer ${{ github.actor }} --sha ${{ github.sha }}

- uses: docker/build-push-action@v1
- uses: docker/build-push-action@v4
if: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: mirego/accent
platforms: linux/amd64,linux/arm64
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' }}

0 comments on commit 450902e

Please sign in to comment.