Skip to content

Commit

Permalink
Publish to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
jatsrt committed Aug 19, 2024
1 parent 42d92d5 commit cccc332
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.SERVICE }}
tags: |
type=raw,value={{branch}}
type=raw,value={{branch}}-{{sha}}-{{date 'YYYYMMDD-HHmmss'}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push
id: push
Expand Down

0 comments on commit cccc332

Please sign in to comment.