parent
d933c6085e
commit
4a17dda647
1 changed files with 2 additions and 1 deletions
|
@ -51,6 +51,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
chmod +x update-version.sh
|
chmod +x update-version.sh
|
||||||
./update-version.sh
|
./update-version.sh
|
||||||
|
TAG=$(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
@ -58,4 +59,4 @@ jobs:
|
||||||
allow: network.host
|
allow: network.host
|
||||||
network: host
|
network: host
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
tags: $(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')
|
tags: ${TAG}
|
||||||
|
|
Loading…
Reference in a new issue