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
|
||||
type: ssh
|
||||
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
|
||||
server:
|
||||
host:
|
||||
from_secret: ssh_server
|
||||
user:
|
||||
from_secret: ssh_user
|
||||
password:
|
||||
from_secret: ssh_pass
|
||||
|
||||
steps:
|
||||
- name: greeting
|
||||
commands:
|
||||
- echo hello world
|
||||
- hostname
|
||||
- whoami
|
||||
|
Loading…
Reference in new issue