parent
bc1add8acc
commit
3c367286cf
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ jobs:
|
||||||
id: get-version
|
id: get-version
|
||||||
run: |
|
run: |
|
||||||
TAG=$(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')
|
TAG=$(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')
|
||||||
|
TAG=$(echo "$TAG" | tr '[:upper:]' '[:lower:]')
|
||||||
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
|
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|
Loading…
Reference in a new issue