Skip to content

Commit

Permalink
fix(image) fix typo in label name (#363)
Browse files Browse the repository at this point in the history
fix(image) fix typo in label name

Co-authored-by: Colin Hutchinson <hutchic@users.noreply.github.com>
  • Loading branch information
Tieske and hutchic authored Nov 23, 2020
1 parent bb81200 commit 29e0088
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release-kong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -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}

Expand Down

0 comments on commit 29e0088

Please sign in to comment.