diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 721ee88..2d879fc 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -19,7 +19,8 @@ steps: commands: - "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 + environment: + FORGEJO_API_TOKEN: + from_secret: FORGEJO_API_TOKEN when: event: tag diff --git a/.woodpecker/mediawiki.yaml b/.woodpecker/mediawiki.yaml index 5f0e516..3841329 100644 --- a/.woodpecker/mediawiki.yaml +++ b/.woodpecker/mediawiki.yaml @@ -19,7 +19,8 @@ steps: commands: - "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/mediawiki:$${CI_COMMIT_TAG##mediawiki/}" - "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/mediawiki:latest" - secrets: - - FORGEJO_API_TOKEN + environment: + FORGEJO_API_TOKEN: + from_secret: FORGEJO_API_TOKEN when: event: tag diff --git a/.woodpecker/strichliste.yaml b/.woodpecker/strichliste.yaml index e8711e8..26ddb7a 100644 --- a/.woodpecker/strichliste.yaml +++ b/.woodpecker/strichliste.yaml @@ -19,7 +19,8 @@ steps: commands: - "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/strichliste:$${CI_COMMIT_TAG##strichliste/}" - "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/strichliste:latest" - secrets: - - FORGEJO_API_TOKEN + environment: + FORGEJO_API_TOKEN: + from_secret: FORGEJO_API_TOKEN when: event: tag