From 947d007297cf2922c00d8cf1babd9e9f64196703 Mon Sep 17 00:00:00 2001 From: Tommy Skaug Date: Fri, 3 Jan 2025 14:58:20 +0100 Subject: [PATCH] misc --- .forgejo/workflows/build-images.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/build-images.yaml b/.forgejo/workflows/build-images.yaml index 9628cfa..cb19610 100644 --- a/.forgejo/workflows/build-images.yaml +++ b/.forgejo/workflows/build-images.yaml @@ -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"