${{ steps.get-version.outputs.tag }}
Some checks failed
ci / build (push) Failing after 46s

This commit is contained in:
miwr 2025-04-24 13:33:49 +02:00
parent 4a17dda647
commit bc1add8acc

View file

@ -51,7 +51,11 @@ jobs:
run: |
chmod +x update-version.sh
./update-version.sh
- name: Extract version from pom.xml
id: get-version
run: |
TAG=$(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
- name: Build and push
uses: docker/build-push-action@v6
with:
@ -59,4 +63,4 @@ jobs:
allow: network.host
network: host
platforms: linux/arm64
tags: ${TAG}
tags: ${{ steps.get-version.outputs.tag }}