Skip to content

Commit 639b281

Browse files
committed
Correct workflow
1 parent c4926b6 commit 639b281

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-container.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
- name: Push image
2323
run: |
2424
IMAGE_ID=ghcr.io/gleam/packages
25-
IMAGE_ID="$IMAGE_ID":$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
26-
docker tag webapp $IMAGE_ID:$VERSION
27-
docker push $IMAGE_ID:$VERSION
25+
TAG="$IMAGE_ID":$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
26+
docker tag webapp "$TAG"
27+
docker push "$TAG"

0 commit comments

Comments
 (0)