Skip to content

Commit

Permalink
fix(per-commit) add a nightly label
Browse files Browse the repository at this point in the history
Historically, kong-build-tools would update the `latest` tag
for each new per-commit release. Since acfda16, that is no longer the
case. Given it's useful to have a generic name for the latest build of
kong - and we want to avoid pushing a tag named `latest`, so as to avoid
surprises when users pull `kong/kong`- this commit adds a `nightly` tag.
Such tag will be used, for example, in decK's CI, where we want to test
against the latest available build of Kong.
  • Loading branch information
gszr committed Jun 29, 2022
1 parent 28ef71b commit 9d9a211
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release-kong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ function push_docker_images() {
-a "$DOCKER_REPOSITORY:$KONG_VERSION-$RESTY_IMAGE_BASE" \
"$DOCKER_REPOSITORY:$ARCHITECTURE-$KONG_VERSION"
docker manifest push "$DOCKER_REPOSITORY:$KONG_VERSION-$RESTY_IMAGE_BASE"

docker manifest create \
-a "$DOCKER_REPOSITORY:nightly" \
"$DOCKER_REPOSITORY:$ARCHITECTURE-$KONG_VERSION"
docker manifest push "$DOCKER_REPOSITORY:nightly"
}


Expand Down

0 comments on commit 9d9a211

Please sign in to comment.