diff --git a/release-kong.sh b/release-kong.sh index 29eb9c33566a..3ad0853aef24 100755 --- a/release-kong.sh +++ b/release-kong.sh @@ -49,8 +49,8 @@ elif [ "$RESTY_IMAGE_BASE" == "alpine" ]; then docker tag localhost:5000/kong-${RESTY_IMAGE_BASE}-${RESTY_IMAGE_TAG} ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${KONG_VERSION} echo "FROM ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${KONG_VERSION}" | docker build \ --label org.opencontainers.image.version="${KONG_VERSION}" \ - --label org.opencontainers.created="${DOCKER_LABEL_CREATED}" \ - --label org.opencontainers.revision="${DOCKER_LABEL_REVISION}" \ + --label org.opencontainers.image.created="${DOCKER_LABEL_CREATED}" \ + --label org.opencontainers.image.revision="${DOCKER_LABEL_REVISION}" \ -t "${DOCKER_REPOSITORY}:${ARCHITECTURE}-${KONG_VERSION}" - docker push ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${KONG_VERSION} @@ -60,8 +60,8 @@ elif [ "$RESTY_IMAGE_BASE" == "alpine" ]; then docker tag localhost:5000/kong-${RESTY_IMAGE_BASE}-${RESTY_IMAGE_TAG} ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${DOCKER_TAG} echo "FROM ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${DOCKER_TAG}" | docker build \ --label org.opencontainers.image.version="${KONG_VERSION}" \ - --label org.opencontainers.created="${DOCKER_LABEL_CREATED}" \ - --label org.opencontainers.revision="${DOCKER_LABEL_REVISION}" \ + --label org.opencontainers.image.created="${DOCKER_LABEL_CREATED}" \ + --label org.opencontainers.image.revision="${DOCKER_LABEL_REVISION}" \ -t "${DOCKER_REPOSITORY}:${ARCHITECTURE}-${DOCKER_TAG}" - docker push ${DOCKER_REPOSITORY}:${ARCHITECTURE}-${DOCKER_TAG}