commands test
Some checks failed
ci/woodpecker/push/build_alpine Pipeline failed

This commit is contained in:
Ruben Momoa
2024-08-22 15:31:26 +02:00
parent 60d0d85b2e
commit e2137eb2e6
2 changed files with 1 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ steps:
- PREV_IMG=$(docker inspect vistanarvas/simple-laravel:dev-alpine --format='{{.Created}}' | cut -d '.' -f 1)
- BASE_DATE=$(date -D "%Y-%m-%dT%H:%M:%S" -d "$BASE_IMG" +%s)
- PREV_DATE=$(date -D "%Y-%m-%dT%H:%M:%S" -d "$PREV_IMG" +%s)
- if [ "$PREV_DATE" -gt "$BASE_DATE" ]; then touch SKIP_BUILD; fi
- if [ "$PREV_DATE" -gt "$BASE_DATE" ]; then exit 1; fi
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -1,16 +0,0 @@
depends_on:
- build_alpine
steps:
test:
image: alpine
commands:
- echo "Hello"
test2:
image: alpine
commands:
- echo "World"
when:
path:
include:
- SKIP_BUILD