1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-15 21:05:36 +00:00
Purism-Calls/.gitlab-ci
Evangelos Ribeiro Tzaras 76e640c826 run-docker: Don't cache container images
Without --no-cache newly "built" images end up just creating a new tag
for old images, see below.

$ podman images
REPOSITORY                                    TAG            IMAGE ID      CREATED       SIZE
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20221013  a1c2d79e4f72  4 weeks ago   1.53 GB
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20221117  4d2a38aa5bff  3 months ago  2.01 GB
registry.gitlab.gnome.org/gnome/calls/debian  v0.0.20220817  4d2a38aa5bff  3 months ago  2.01 GB
2022-12-03 08:52:41 +00:00
..
debian.Dockerfile ci: Include intltool in Debian image 2022-08-17 11:59:51 +02:00
README.md gitlab-ci: Use prebuilt containers 2021-12-21 14:16:47 +01:00
run-docker.sh run-docker: Don't cache container images 2022-12-03 08:52:41 +00:00

Checklist for Updating the Docker Images

  • Update the ${image}.Dockerfile file with the dependencies
  • Run ./run-docker.sh build --base ${image} --version ${number}
  • Run ./run-docker.sh push --base ${image} --version ${number} once the Docker image is built; you may need to log in by using docker login or podman login like podman login -u -p registry.gitlab.gnome.org/world/phosh/phosh See https://docs.gitlab.com/ee/user/packages/container_registry/
  • Update the image keys in the .gitlab-ci.yml file with the new image tag
  • Open a merge request with your changes and let it run