diff --git a/.woodpecker.yml b/.woodpecker.yml index 6eb66d5..3b93ede 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,21 +1,18 @@ +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: - image: earthly/earthly:v0.6.30 - volumes: - - /var/run/docker.sock:/var/run/docker.sock - environment: - - FORCE_COLOR=1 - - EARTHLY_EXEC_CMD="/bin/sh" + !!merge <<: *EARTHLY commands: - earthly bootstrap - earthly --ci +ci 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" + !!merge <<: *EARTHLY secrets: [GITEA_TOKEN] commands: - earthly bootstrap