You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
---
|
|
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: retag
|
|
image: docker
|
|
environment:
|
|
DOCKER_PASSWORD:
|
|
from_secret: gitea-key
|
|
SECRET_IMAGE:
|
|
from_secret: secret-image
|
|
commands:
|
|
- echo $DOCKER_PASSWORD | docker login --username jowj --password-stdin git.awful.club
|
|
- sleep 5
|
|
- docker pull $SECRET_IMAGE
|
|
- docker image tag $SECRET_IMAGE git.awful.club/packages/hoard
|
|
- docker push git.awful.club/packages/hoard
|
|
|