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: |