Update .forgejo/workflows/build-images.yaml
This commit is contained in:
parent
3db0b09feb
commit
fed809c507
1 changed files with 2 additions and 3 deletions
|
@ -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: :<channel> and :<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 }}
|
||||
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: |
|
||||
|
|
Loading…
Reference in a new issue