This commit is contained in:
Tommy 2025-01-03 14:58:20 +01:00
parent c88f1abd4a
commit 947d007297
Signed by: tommy
SSH key fingerprint: SHA256:1LWgQT3QPHIT29plS8jjXc3S1FcE/4oGvsx3Efxs6Uc

View file

@ -28,6 +28,7 @@ jobs:
name: Read Version from version.sh
run: |
version=$(bash "${{ steps.set-context.outputs.context_dir }}/ci/version.sh" || echo "")
echo "Version being built: $version"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Build and Push with Kaniko
@ -36,6 +37,8 @@ jobs:
context: ${{ steps.set-context.outputs.context_dir }}
destinations: >
code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:latest code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.read-version.outputs.version }}
build_args: |
VERSION="${{ steps.read-version.outputs.version }}"
credentials: "code.252.no=tommy:${{ secrets.REGISTRY_TOKEN }}"
push: "true"
cache: "false"