From fed809c5070dc073746c148edbb62b463071ddeb Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 3 Jan 2025 23:03:14 +0000 Subject: [PATCH] Update .forgejo/workflows/build-images.yaml --- .forgejo/workflows/build-images.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-images.yaml b/.forgejo/workflows/build-images.yaml index 108e2dc..8befa27 100644 --- a/.forgejo/workflows/build-images.yaml +++ b/.forgejo/workflows/build-images.yaml @@ -49,7 +49,7 @@ jobs: name: Read version from version.sh shell: bash run: | - version=$(bash "${{ steps.set-context.outputs.context_dir }}/ci/version.sh" || echo "") + version=$(bash "${{ steps.set-context.outputs.context_dir }}/ci/version.sh" || echo "" | sed 's/[^a-zA-Z0-9._-]//g') echo "Discovered version: $version" echo version=$version >> $GITHUB_OUTPUT @@ -66,8 +66,7 @@ jobs: context: ${{ steps.set-context.outputs.context_dir }} # Build & push two tags: : and : - destinations: > - code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.parse-channel-platform.outputs.channel }} code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.read-version.outputs.version }} + destinations: code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.parse-channel-platform.outputs.channel }} code.252.no/${{ github.repository }}/${{ github.event.inputs.app }}:${{ steps.read-version.outputs.version }} # Pass any build arguments the Dockerfile expects build_args: |