Skip to content

Commit

Permalink
ci: push to dockerhub in case of tag
Browse files Browse the repository at this point in the history
  • Loading branch information
torbrenner committed Feb 6, 2025
1 parent b0e18fa commit 1ccba3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
components: '[ "transfair" ]'
architectures: '[ "amd64" ]'
test-via-script: true
push-to: ${{ (github.ref_protected == true || github.event_name == 'workflow_dispatch') && 'dockerhub' || 'none' }}
push-to: ${{ (github.ref_protected == true || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/v')) && 'dockerhub' || 'none' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 1ccba3d

Please sign in to comment.