heroku / buildpacks-procfile

Heroku's Procfile Cloud Native Buildpack.
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Docker image tags 0.6.1 and 1.0.1 don't match buildpack registry versions #105

Closed edmorley closed 2 years ago

edmorley commented 2 years ago

On Docker Hub, currently:

However the buildpack registry has the following (source):

Judging by the tag publish dates and the GitHub Actions history, it appears the original Docker tags were overwritten accidentally when the next release was due to occur, due to the buildpack.toml version not having been bumped (eg #8, #90).

In order that the releases are consistent, we should update the Docker tags to match the buildpack registry releases.

edmorley commented 2 years ago
$ docker pull heroku/procfile-cnb@sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd
docker.io/heroku/procfile-cnb@sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd: Pulling from heroku/procfile-cnb
6493100ee6f6: Pull complete
Digest: sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd
Status: Downloaded newer image for heroku/procfile-cnb@sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd
docker.io/heroku/procfile-cnb@sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd
$ docker tag heroku/procfile-cnb@sha256:74881b33e1e33eea38b419e667b0a99ac50e536727eeefd1b2eeb7ff3a937ffd heroku/procfile-cnb:0.6.1

$ docker pull heroku/procfile-cnb@sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128
docker.io/heroku/procfile-cnb@sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128: Pulling from heroku/procfile-cnb
59e6d2310e44: Pull complete
Digest: sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128
Status: Downloaded newer image for heroku/procfile-cnb@sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128
docker.io/heroku/procfile-cnb@sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128
$ docker tag heroku/procfile-cnb@sha256:79697af377bb9a213a34488253a2ad99e2feb676491bc1f9b6c6fc5418441128 heroku/procfile-cnb:1.0.1

$ docker images
REPOSITORY            TAG       IMAGE ID       CREATED        SIZE
heroku/procfile-cnb   0.6.1     fbae847949a2   42 years ago   3.27MB
heroku/procfile-cnb   1.0.1     99aabb9d230c   42 years ago   6.14MB

$ docker push heroku/procfile-cnb:0.6.1
The push refers to repository [docker.io/heroku/procfile-cnb]
a02d3fde2aeb: Layer already exists
0.6.1: digest: sha256:33b050f2dab823890312195f1bf69114570f0d75f2f0d2275b970364f168ce22 size: 527

$ docker push heroku/procfile-cnb:1.0.1
The push refers to repository [docker.io/heroku/procfile-cnb]
a20a2ece31b2: Layer already exists
1.0.1: digest: sha256:5105ff510b24c2e365b313b2caaea0801a512ced4f6efc91d90288fd906703c5 size: 528