Skip to content

Commit

Permalink
Use conditional context for the manual workflow running
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixoid committed Nov 3, 2024
1 parent 1be1610 commit bcd6286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-ghcrio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
context: ${{ inputs.ref && 'git' || 'workflow' }}
images: ghcr.io/${{ github.repository }}
# create latest tag for branch events
flavor: |
Expand Down

0 comments on commit bcd6286

Please sign in to comment.