1
0

+ ADD github build and deploy action
Some checks failed
/ build-and-deploy (push) Failing after 14s

This commit is contained in:
felegy
2025-08-21 12:25:00 +00:00
parent 1d136f7000
commit eaf474d9eb

View File

@@ -5,7 +5,6 @@ env:
NAMESPACE: ${{ github.repository_owner }}
DOCKER_REGISTRY: ghcr.io
DOCKER_REPOSITORY: ${{ github.repository }}
IMAGE_NAME: ${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}
jobs:
build-and-deploy:
env:
@@ -40,6 +39,7 @@ jobs:
SHA: ${{ github.sha }}
SHORT_SHA: ${{ steps.short-sha.outputs.sha }}
run: |
echo "IMAGE_NAME=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}" >> $GITHUB_ENV
kp image patch $IMAGE_NAME --replace-additional-tag "${IMAGE}:sha-${SHORT_SHA}" --git-revision "${SHA}" -n $NAMESPACE
kp image status $IMAGE_NAME -n $NAMESPACE
- name: Wait for build to complete