We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8736972 commit f05b42bCopy full SHA for f05b42b
.github/workflows/docker-image.yml
@@ -35,14 +35,14 @@ jobs:
35
with:
36
images: sensenetcsp/sn-client
37
tags: |
38
- # Branch name
39
- type=ref,event=branch
+ # Branch name (replace slashes with hyphens)
+ type=ref,event=branch,suffix=-{{sha}}
40
# Latest tag for main branch
41
type=raw,value=latest,enable={{is_default_branch}}
42
# PR number for pull requests
43
type=ref,event=pr
44
- # Short SHA
45
- type=sha,prefix={{branch}}-
+ # Short SHA for current commit
+ type=sha,prefix=sha-
46
47
- name: Login to DockerHub
48
if: steps.check_dockerfile.outputs.dockerfile_exists == 'true'
0 commit comments