amseltools/.woodpecker.yml

22 lines
490 B
YAML
Raw Permalink Normal View History

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"
2023-03-30 09:36:08 +02:00
pipeline:
earthly:
!!merge <<: *EARTHLY
2023-03-30 09:36:08 +02:00
commands:
- earthly bootstrap
- earthly --ci +ci
earthly-release:
!!merge <<: *EARTHLY
2023-03-30 09:36:08 +02:00
secrets: [GITEA_TOKEN]
commands:
- earthly bootstrap
2023-03-30 09:38:01 +02:00
- earthly --ci --secret GITEA_TOKEN=$GITEA_TOKEN +release
when:
event: tag