Skip to content

Commit

Permalink
Also build&push arm docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-d committed Feb 22, 2024
1 parent 784c6b3 commit 19348c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ jobs:
with:
push: ${{ (github.event_name == 'release' && github.event.action == 'published') || github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
tags: ${{ steps.prepare.outputs.tags }}
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
- name: "Build and push slim docker image to DockerHub"
id: docker_slim_build
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.slim
push: ${{ (github.event_name == 'release' && github.event.action == 'published') || github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
tags: ${{ steps.prepare.outputs.slim-tags }}
platforms: linux/amd64
platforms: linux/amd64,linux/arm64

0 comments on commit 19348c1

Please sign in to comment.