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 55c0b30 commit 16edb58Copy full SHA for 16edb58
1 file changed
.github/workflows/gradle-build.yml
@@ -33,9 +33,9 @@ jobs:
33
34
- name: Prepare Docker image for test
35
run: |
36
- tag=$(git branch --show-current | tr '/' '-')
37
- docker pull ghcr.io/aim42/hsc:${tag}
38
- docker tag ghcr.io/aim42/hsc:${tag} ghcr.io/aim42/hsc:v2
+ tag="${GITHUB_REF_NAME:=$(git branch --show-current)}"
+ tag="${tag/\//-}"
+ docker tag "ghcr.io/aim42/hsc:${tag}" ghcr.io/aim42/hsc:v2
39
40
- name: Download Artifacts
41
uses: actions/download-artifact@v5
0 commit comments