ci: add lint & test step
ci/woodpecker/push/woodpecker Pipeline was successful Details

Tomáš Mládek 2023-08-22 18:19:00 +02:00
parent be180ed59b
commit f4f94d9864
1 changed files with 26 additions and 1 deletions

View File

@ -1,5 +1,29 @@
pipeline:
earthly:
lint:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
commands:
- earthly bootstrap
- earthly config global.disable_log_sharing true
- earthly +lint
test:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
commands:
- earthly bootstrap
- earthly config global.disable_log_sharing true
- earthly +test
appimage:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
@ -9,6 +33,7 @@ pipeline:
secrets: [REGISTRY, REGISTRY_USER, REGISTRY_PASSWORD]
commands:
- earthly bootstrap
- earthly config global.disable_log_sharing true
- earthly +appimage
package:push: