Trying again with alpine.

master
josiah 1 year ago
parent dca98b2772
commit 26c5895de6

@ -1,22 +1,20 @@
---
kind: pipeline kind: pipeline
name: default name: default
type: docker type: docker
steps: steps:
- name: build - name: retag
image: image: alpine
from_secret: secret-image
volumes:
- name: dockersock
path: /var/run
environment: environment:
DOCKER_PASSWORD: DOCKER_PASSWORD:
from_secret: gitea-key from_secret: gitea-key
SECRET_IMAGE: SECRET_IMAGE:
from_secret: secret-image from_secret: secret-image
commands: commands:
- sleep 5 # give docker enough time to start - apk add docker
- echo $DOCKER_PASSWORD | docker login --username jowj --password-stdin git.awful.club - echo $DOCKER_PASSWORD | docker login --username jowj --password-stdin git.awful.club
- docker pull $SECRET_IMAGE
- docker image tag $SECRET_IMAGE git.awful.club/packages/hoard - docker image tag $SECRET_IMAGE git.awful.club/packages/hoard
- docker push git.awful.club/packages/hoard - docker push git.awful.club/packages/hoard

Loading…
Cancel
Save