minor fixes
This commit is contained in:
parent
a9f9014edd
commit
fe1fb1935c
@ -50,7 +50,7 @@ CI_COMMIT_REF_SLUG="$(image_tag_norm "${CI_COMMIT_REF_SLUG}")"
|
||||
|
||||
## image tag(s)
|
||||
IMAGE_TAG="${CI_COMMIT_SHORT_SHA}-b${CI_PIPELINE_NUMBER}-${CI_COMMIT_REF_SLUG}"
|
||||
EXTRA_TAGS=$(image_tag_norm "branch-${CI_COMMIT_BRANCH}")
|
||||
EXTRA_TAGS=
|
||||
if [ -n "${CI_COMMIT_TAG}" ] ; then
|
||||
IMAGE_TAG="${CI_COMMIT_SHORT_SHA}"
|
||||
EXTRA_TAGS="${CI_COMMIT_REF_SLUG}"
|
||||
|
@ -6,7 +6,7 @@ FROM --platform=${TARGET_PLATFORM} ${BASE_IMAGE}
|
||||
ARG PLATFORM_SUFFIX
|
||||
COPY /dist/rngpotd${PLATFORM_SUFFIX} /bin/rngpotd
|
||||
|
||||
ENTRYPOINT [ ]
|
||||
CMD [ "/bin/rngpotd" ]
|
||||
ENTRYPOINT [ "/bin/rngpotd" ]
|
||||
CMD [ ]
|
||||
|
||||
USER nonroot:nonroot
|
||||
|
@ -8,8 +8,6 @@ var (
|
||||
rngRetCodes = [...]int{
|
||||
fiber.StatusTeapot,
|
||||
|
||||
fiber.StatusEarlyHints,
|
||||
|
||||
fiber.StatusNonAuthoritativeInformation,
|
||||
fiber.StatusNoContent,
|
||||
fiber.StatusResetContent,
|
||||
|
Loading…
Reference in New Issue
Block a user