revert(ci): use semver instead sed
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Release / push-amd64 (push) Successful in 9m12s
Release / push-arm64 (push) Successful in 10m54s
Release / push-manifest (push) Successful in 12s
Release / sync-to-hub-docker-io (push) Successful in 1m6s

This reverts commit 441f3a62f1ef095cae86a45b7658f52b31978181.
This commit is contained in:
Markus Pesch 2025-05-06 22:53:42 +02:00
parent 441f3a62f1
commit 2efe2c8db2
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -46,7 +46,7 @@ jobs:
- name: Build and push image - name: Build and push image
run: | run: |
TAG=$(semver ${{ github.ref_name }}) TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \ docker buildx build \
--platform linux/amd64 \ --platform linux/amd64 \
@ -70,7 +70,7 @@ jobs:
- name: Create and push manifest - name: Create and push manifest
run: | run: |
TAG=$(semver ${{ github.ref_name }}) TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker manifest create git.cryptic.systems/volker.raschek/docker-compose:${TAG} \ docker manifest create git.cryptic.systems/volker.raschek/docker-compose:${TAG} \
--amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \ --amend git.cryptic.systems/volker.raschek/docker-compose:${TAG}-amd64 \
@ -85,11 +85,10 @@ jobs:
steps: steps:
- name: Copy images to docker.io - name: Copy images to docker.io
run: | run: |
TAG=$(semver ${{ github.ref_name }}) TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
apt-get update --yes apt-get update --yes
apt-get install --yes skopeo apt-get install --yes skopeo
skopeo copy \ skopeo copy \
--all \ --all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \ --dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \