diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 40c9470..721ee88 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -17,9 +17,8 @@ steps: - name: push image: quay.io/skopeo/stable commands: - - "skopeo login dev.ccchb.de -u ccchb -p $${FORGEJO_API_TOKEN}" - - "skopeo copy 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:latest" + - "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 --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:latest" secrets: - FORGEJO_API_TOKEN when: