25 lines
611 B
YAML
25 lines
611 B
YAML
pipeline:
|
|
earthly:
|
|
image: earthly/earthly:v0.6.30
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- FORCE_COLOR=1
|
|
- EARTHLY_EXEC_CMD="/bin/sh"
|
|
commands:
|
|
- earthly bootstrap
|
|
- earthly --ci +ci
|
|
when:
|
|
event: tag
|
|
earthly-release:
|
|
image: earthly/earthly:v0.6.30
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- FORCE_COLOR=1
|
|
- EARTHLY_EXEC_CMD="/bin/sh"
|
|
secrets: [GITEA_TOKEN]
|
|
commands:
|
|
- earthly bootstrap
|
|
- earthly --ci --secret GITEA_TOKEN=$GITEA_TOKEN +ci +release
|