Update entrypoint location.

This commit is contained in:
2021-05-11 13:58:06 +01:00
parent 325c53bfb7
commit 0d7a562e00
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -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"]
+2
View File
@@ -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