Skip to content

Commit

Permalink
fix(CI): publish-image.yaml (#17)
Browse files Browse the repository at this point in the history
* fix(CI): fixing mistakes and removing comments in publish-image.yaml

Only use SHA of commit, don't mind the branch. These should be debug
anyway.

Signed-off-by: Robin Opletal <[email protected]>

* fix(CI): modify "debug"/temporary containers tagging (from PRs)

---------

Signed-off-by: Robin Opletal <[email protected]>
  • Loading branch information
fourstepper authored Oct 24, 2023
1 parent 43a0efe commit 1dffa66
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# on tag, tag the tag :)
type=ref,event=tag
# latest based on default branch
type=raw,value=latest,enable={{is_default_branch}}
# prefix for development
type=sha,prefix={{branch}}-
type=ref,event=branch,suffix=-{{sha}}
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
Expand Down

0 comments on commit 1dffa66

Please sign in to comment.