mirror of
https://github.com/mirego/accent.git
synced 2024-09-11 10:55:28 +03:00
update docker/build-push-action@v4 (#362)
add platforms to build arm image
This commit is contained in:
parent
d6736229a0
commit
450902e57d
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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' }}
|
||||
|
Loading…
Reference in New Issue
Block a user