22 lines
490 B
YAML
22 lines
490 B
YAML
EARTHLY: &EARTHLY
|
|
image: earthly/earthly:v0.7.2
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- FORCE_COLOR=1
|
|
- EARTHLY_EXEC_CMD="/bin/sh"
|
|
pipeline:
|
|
earthly:
|
|
!!merge <<: *EARTHLY
|
|
commands:
|
|
- earthly bootstrap
|
|
- earthly --ci +ci
|
|
earthly-release:
|
|
!!merge <<: *EARTHLY
|
|
secrets: [GITEA_TOKEN]
|
|
commands:
|
|
- earthly bootstrap
|
|
- earthly --ci --secret GITEA_TOKEN=$GITEA_TOKEN +release
|
|
when:
|
|
event: tag
|