Merge branch 'develop'
Some checks failed
Build podman-dind-like / build-and-push (push) Has been cancelled

Fixing the image name in the Github actions
This commit is contained in:
James Jones
2022-11-21 18:09:31 -05:00

View File

@@ -60,7 +60,7 @@ jobs:
podman build . --file Dockerfile --tag "$REGISTRY/$IMAGE_NAME:$VERSION"
podman push "$REGISTRY/$IMAGE_NAME:$VERSION"
if [[ "$GITHUB_REF" =~ ^refs/tags.* ]]; then
podman tag "$REGISTRY/$IMAGE_NAME:$VERSION" "$IMAGE_NAME:latest"
podman tag "$REGISTRY/$IMAGE_NAME:$VERSION" "$REGISTRY/$IMAGE_NAME:latest"
podman push "$REGISTRY/$IMAGE_NAME:latest"
fi
# env: