fix(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) Failing after 48s
Release / push-arm64 (push) Successful in 10m46s
Release / push-manifest (push) Has been skipped
Release / sync-to-hub-docker-io (push) Has been skipped
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Release / push-amd64 (push) Failing after 48s
Release / push-arm64 (push) Successful in 10m46s
Release / push-manifest (push) Has been skipped
Release / sync-to-hub-docker-io (push) Has been skipped
This commit is contained in:
parent
b8e540a75b
commit
441f3a62f1
@ -46,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(semver ${{ github.ref_name }})
|
||||||
|
|
||||||
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=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(semver ${{ github.ref_name }})
|
||||||
|
|
||||||
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,10 +85,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Copy images to docker.io
|
- name: Copy images to docker.io
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
TAG=$(semver ${{ github.ref_name }})
|
||||||
|
|
||||||
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 }} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user