fix: update tag name for coder-preview image in ci.yaml (#8945)

This commit is contained in:
Muhammad Atif Ali
2023-08-07 14:35:28 +00:00
committed by GitHub
parent 71ea5ace07
commit 6ded748989
+3 -2
View File
@@ -741,8 +741,9 @@ jobs:
build/coder_linux_amd64
# Tag image with new package tag and push
docker tag ghcr.io/coder/coder-preview:main ghcr.io/coder/coder-preview:main-$version
docker push ghcr.io/coder/coder-preview:main-$version
tag=$(echo "$version" | sed 's/+/-/g')
docker tag ghcr.io/coder/coder-preview:main ghcr.io/coder/coder-preview:main-$tag
docker push ghcr.io/coder/coder-preview:main-$tag
- name: Prune old images
uses: vlaurin/action-ghcr-prune@v0.5.0