Skip to content

Commit

Permalink
Update docker-publish-pmwiki-cron.yml and multi platform support
Browse files Browse the repository at this point in the history
- Update versions of github actions
- add multi platform build options
  • Loading branch information
lukystreik committed Jun 24, 2024
1 parent 41f9851 commit 3ef60c0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-publish-pmwiki-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ jobs:
#baut version nach pull request namen type=ref,event=pr
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -81,9 +81,10 @@ jobs:
# password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:build"
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64

0 comments on commit 3ef60c0

Please sign in to comment.