Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Nov 14, 2024
1 parent 2b8e208 commit f40cb62
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,17 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Publish to GitHub Packages
if: github.ref == 'refs/heads/master' # Run only on master
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Publish to GitHub Packages (Dry Run)
if: github.ref != 'refs/heads/master' # Dry run if not master (push: false)
uses: docker/build-push-action@v3
with:
push: github.ref == 'refs/heads/master'
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Update repo description
Expand Down

0 comments on commit f40cb62

Please sign in to comment.