Skip to content

Commit

Permalink
fix: test entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten committed Aug 24, 2021
1 parent 06f1bf1 commit f59f31e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .woodpecker/.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pipeline:
secrets: [docker_username, docker_password]
environment:
- IMAGE_TYPE=server
entrypoint: ''
commands:
- export WOODPECKER_VERSION=$(cat ./woodpecker-version)
- test "$WOODPECKER_VERSION" -ne "" || exit 0 # skip if not version is found
Expand All @@ -54,6 +55,7 @@ pipeline:
secrets: [docker_username, docker_password]
environment:
- IMAGE_TYPE=agent
entrypoint: ['']
commands:
- export WOODPECKER_VERSION=$(cat ./woodpecker-version)
- test "$WOODPECKER_VERSION" -ne "" || exit 0 # skip if not version is found
Expand All @@ -68,7 +70,7 @@ pipeline:
secrets: [docker_username, docker_password]
environment:
- IMAGE_TYPE=cli
commands:
entrypoint:
- export WOODPECKER_VERSION=$(cat ./woodpecker-version)
- test "$WOODPECKER_VERSION" -ne "" || exit 0 # skip if not version is found
- .woodpecker/scripts/build-docker-image.sh
Expand Down

0 comments on commit f59f31e

Please sign in to comment.