ci: updated workflow

This commit is contained in:
Marvin Zhang
2024-11-22 20:09:24 +08:00
parent c5e0ba8baa
commit 1984831056

View File

@@ -253,8 +253,8 @@ jobs:
)
for name in "${IMAGE_NAMES[@]}"; do
IMAGE_NAME="ghcr.io/${{ github.repository_owner }}/$name"
OLD_IMAGE="crawlabteam/${name}:latest"
NEW_IMAGE="${IMAGE_NAME}:${{ needs.setup.outputs.version }}"
OLD_IMAGE="crawlabteam/${name}:"
NEW_IMAGE="${IMAGE_NAME}:"
sed -i "s|${OLD_IMAGE}|${NEW_IMAGE}|" Dockerfile
done
- name: Log in to GitHub Container Registry