Skip to content

Commit 5cc3643

Browse files
Update create-release.yml
1 parent d9fa4c6 commit 5cc3643

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,28 @@ jobs:
2323
# Change all uppercase to lowercase
2424
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
2525
26+
echo $IMAGE_ID
27+
2628
# Strip git ref prefix from version
2729
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
2830
echo $VERSION
2931
3032
# Strip "v" prefix from tag name
3133
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
3234
35+
echo $VERSION
36+
3337
# Use Docker `latest` tag convention
3438
[ "$VERSION" == "master" ] && VERSION=latest
3539
40+
echo $VERSION
41+
echo $IMAGE_ID
42+
3643
echo IMAGE_ID=$IMAGE_ID
3744
echo VERSION=$VERSION
3845
46+
echo $IMAGE_ID:$VERSION
47+
3948
docker tag image $IMAGE_ID:$VERSION
4049
docker push $IMAGE_ID:$VERSION
4150

0 commit comments

Comments
 (0)