mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +00:00
Update entrypoint location.
This commit is contained in:
+2
-2
@@ -13,5 +13,5 @@ RUN apk add --no-cache ca-certificates
|
||||
WORKDIR /go/src/app
|
||||
COPY --from=baseimg /go/src/app/semver-gen .
|
||||
COPY --from=baseimg /go/src/app/config-release.yaml config.yaml
|
||||
COPY --from=baseimg /go/src/app/entrypoint.sh entrypoint.sh
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
@@ -26,6 +26,8 @@ if [[ "${FLAGS}" == "" && "$*" == "" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /github/workspace
|
||||
OUT_SEMVER_GEN=$(/go/src/app/semver-gen generate $FLAGS $*)
|
||||
[ $? -eq 0 ] || exit 1
|
||||
echo "::set-output name=semantic_version::$(echo $OUT_SEMVER_GEN | sed -e 's|SEMVER ||g')"
|
||||
echo $OUT_SEMVER_GEN
|
||||
Reference in New Issue
Block a user