Move from docker to ssh runner.
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
parent
8e2d567299
commit
f32714192f
@ -1,20 +1,19 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
name: default
|
name: default
|
||||||
type: docker
|
|
||||||
|
|
||||||
steps:
|
server:
|
||||||
- name: retag
|
host:
|
||||||
image: docker
|
from_secret: ssh_server
|
||||||
environment:
|
user:
|
||||||
DOCKER_PASSWORD:
|
from_secret: ssh_user
|
||||||
from_secret: gitea-key
|
password:
|
||||||
SECRET_IMAGE:
|
from_secret: ssh_pass
|
||||||
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
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: greeting
|
||||||
|
commands:
|
||||||
|
- echo hello world
|
||||||
|
- hostname
|
||||||
|
- whoami
|
||||||
|
Loading…
Reference in new issue