fixup! ci: fix skopeo destination arguments
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/tag/keycloak Pipeline was successful

This commit is contained in:
Fritz Grimpen 2024-11-09 01:45:57 +01:00
parent 7b58914669
commit e849419273

View file

@ -17,9 +17,8 @@ steps:
- 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 copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:$${CI_COMMIT_TAG##keycloak/}"
- "skopeo copy oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:$${CI_COMMIT_TAG##keycloak/}" - "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:latest"
- "skopeo copy oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:latest"
secrets: secrets:
- FORGEJO_API_TOKEN - FORGEJO_API_TOKEN
when: when: