Skip to content

Commit 2ffa2ca

Browse files
authored
Maybe like this
1 parent abee055 commit 2ffa2ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
dotnet publish -c Release \
3030
-p:ContainerRegistry=docker.io \
3131
-p:ContainerRepository=nihlen/bf2-webadmin \
32-
-p:ContainerImageTags="latest,sha-${{ github.sha::8 }}" \
32+
-p:ContainerImageTags="latest,sha-${{ substring(github.sha, 0, 8) }}" \
3333
-p:ContainerPush=true

0 commit comments

Comments
 (0)