CI: Convert to new secret syntax of Woodpecker CI
This commit is contained in:
parent
7e046ed714
commit
1b9c831d4e
3 changed files with 9 additions and 6 deletions
|
@ -19,7 +19,8 @@ steps:
|
||||||
commands:
|
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:$${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 --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/keycloak:latest"
|
||||||
secrets:
|
environment:
|
||||||
- FORGEJO_API_TOKEN
|
FORGEJO_API_TOKEN:
|
||||||
|
from_secret: FORGEJO_API_TOKEN
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
|
@ -19,7 +19,8 @@ steps:
|
||||||
commands:
|
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:$${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"
|
- "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/mediawiki:latest"
|
||||||
secrets:
|
environment:
|
||||||
- FORGEJO_API_TOKEN
|
FORGEJO_API_TOKEN:
|
||||||
|
from_secret: FORGEJO_API_TOKEN
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
|
@ -19,7 +19,8 @@ steps:
|
||||||
commands:
|
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:$${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"
|
- "skopeo copy --dest-creds ccchb:$${FORGEJO_API_TOKEN} oci-archive:/woodpecker/image.tar docker://dev.ccchb.de/ccchb/oci-images/strichliste:latest"
|
||||||
secrets:
|
environment:
|
||||||
- FORGEJO_API_TOKEN
|
FORGEJO_API_TOKEN:
|
||||||
|
from_secret: FORGEJO_API_TOKEN
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
Loading…
Reference in a new issue