Tomáš Mládek
75c0dce27a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
22 lines
616 B
YAML
22 lines
616 B
YAML
pipeline:
|
|
update:
|
|
image: earthly/earthly:v0.8.1
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- FORCE_COLOR=1
|
|
- EARTHLY_EXEC_CMD="/bin/sh"
|
|
secrets:
|
|
[
|
|
EARTHLY_CONFIGURATION,
|
|
SSH_CONFIG,
|
|
SSH_UPLOAD_KEY,
|
|
SSH_KNOWN_HOSTS,
|
|
SSH_TARGET,
|
|
]
|
|
commands:
|
|
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
|
|
- earthly bootstrap
|
|
- earthly --secret SSH_CONFIG --secret SSH_UPLOAD_KEY --secret SSH_KNOWN_HOSTS --secret SSH_TARGET --push +deploy
|
|
when:
|
|
branch: ["main"]
|