quote dollar in woodpecker yaml
Some checks failed
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/tag/keycloak Pipeline failed

This commit is contained in:
Fritz Grimpen 2024-11-09 01:31:07 +01:00
parent 333a356c86
commit 967313e292

View file

@ -12,14 +12,14 @@ steps:
image: quay.io/buildah/stable image: quay.io/buildah/stable
commands: commands:
- buildah build --manifest dev.ccchb.de/ccchb/oci-images/keycloak keycloak/ - buildah build --manifest dev.ccchb.de/ccchb/oci-images/keycloak keycloak/
- buildah manifest push --all dev.ccchb.de/ccchb/oci-images/keycloak oci-archive:keycloak.tar - buildah manifest push --all dev.ccchb.de/ccchb/oci-images/keycloak oci-archive:/woodpecker/image.tar
privileged: true privileged: true
- name: push - name: push
image: quay.io/skopeo/stable image: quay.io/skopeo/stable
commands: commands:
- "skopeo login dev.ccchb.de -u ccchb -p ${FORGEJO_API_TOKEN}" - "skopeo login dev.ccchb.de -u ccchb -p $${FORGEJO_API_TOKEN}"
- "skopeo copy oci-archive:keycloak.tar dev.ccchb.de/ccchb/oci-images/keycloak:${CI_COMMIT_TAG##keycloak/}" - "skopeo copy oci-archive:/woodpecker/image.tar dev.ccchb.de/ccchb/oci-images/keycloak:$${CI_COMMIT_TAG##keycloak/}"
- "skopeo copy oci-archive:keycloak.tar dev.ccchb.de/ccchb/oci-images/keycloak:latest" - "skopeo copy oci-archive:/woodpecker/image.tar dev.ccchb.de/ccchb/oci-images/keycloak:latest"
secrets: secrets:
- FORGEJO_API_TOKEN - FORGEJO_API_TOKEN
when: when: