~ FIX IMAGE_NAME in cd.yaml
All checks were successful
/ build-and-deploy (push) Successful in 1m31s
All checks were successful
/ build-and-deploy (push) Successful in 1m31s
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
SHA: ${{ github.sha }}
|
SHA: ${{ github.sha }}
|
||||||
SHORT_SHA: ${{ steps.short-sha.outputs.sha }}
|
SHORT_SHA: ${{ steps.short-sha.outputs.sha }}
|
||||||
run: |
|
run: |
|
||||||
IMAGE_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}-${GITHUB_REF##*/}
|
IMAGE_NAME="${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}-${GITHUB_REF##*/}"
|
||||||
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
|
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
|
||||||
kp image patch $IMAGE_NAME --replace-additional-tag "${IMAGE}:sha-${SHORT_SHA}" --git-revision "${SHA}" -n $NAMESPACE
|
kp image patch $IMAGE_NAME --replace-additional-tag "${IMAGE}:sha-${SHORT_SHA}" --git-revision "${SHA}" -n $NAMESPACE
|
||||||
kp image status $IMAGE_NAME -n $NAMESPACE
|
kp image status $IMAGE_NAME -n $NAMESPACE
|
||||||
|
|||||||
Reference in New Issue
Block a user