From b8a065ad216851bebbc52fb5445d24b9b76f9835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com> Date: Fri, 18 Apr 2025 09:01:46 +0200 Subject: [PATCH] fix: switch to official image with awk for buildah and skopeo --- README.md | 4 ++-- kicker.json | 4 ++-- templates/gitlab-ci-docker.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1ee14fa..47ef460 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The Docker template uses some global configuration used throughout all jobs. | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | `build-tool` / `DOCKER_BUILD_TOOL` | The build tool to use for building container image, possible values are `kaniko`, `buildah` or `dind` | `kaniko` | | `kaniko-image` / `DOCKER_KANIKO_IMAGE` | The image used to run `kaniko` - _for kaniko build only_ | `gcr.io/kaniko-project/executor:debug` (use `debug` images for GitLab)<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_KANIKO_IMAGE)| -| `buildah-image` / `DOCKER_BUILDAH_IMAGE` | The image used to run `buildah` - _for buildah build only_ | `quay.io/buildah/stable`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_BUILDAH_IMAGE)| +| `buildah-image` / `DOCKER_BUILDAH_IMAGE` | The image used to run `buildah` - _for buildah build only_ | `quay.io/containers/aio:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_BUILDAH_IMAGE)| | `image` / `DOCKER_IMAGE` | The Docker image used to run the docker client (see [full list](https://hub.docker.com/r/library/docker/)) - _for Docker-in-Docker build only_ | `registry.hub.docker.com/library/docker:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_IMAGE) | | `dind-image` / `DOCKER_DIND_IMAGE` | The Docker image used to run the Docker daemon (see [full list](https://hub.docker.com/r/library/docker/)) - _for Docker-in-Docker build only_ | `registry.hub.docker.com/library/docker:dind`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_DIND_IMAGE)| | `file` / `DOCKER_FILE` | The path to your `Dockerfile` | `Dockerfile` | @@ -466,7 +466,7 @@ This job pushes (_promotes_) the built image as the _release_ image [skopeo](htt | Input / Variable | Description | Default value | | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `skopeo-image` / `DOCKER_SKOPEO_IMAGE` | The Docker image used to run [skopeo](https://github.com/containers/skopeo) | `quay.io/skopeo/stable:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_SKOPEO_IMAGE)| +| `skopeo-image` / `DOCKER_SKOPEO_IMAGE` | The Docker image used to run [skopeo](https://github.com/containers/skopeo) | `quay.io/containers/aio:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-DOCKER_SKOPEO_IMAGE)| | `publish-args` / `DOCKER_PUBLISH_ARGS` | Additional [`skopeo copy` arguments](https://github.com/containers/skopeo/blob/master/docs/skopeo-copy.1.md#options) | _(none)_ | | `prod-publish-strategy` / `DOCKER_PROD_PUBLISH_STRATEGY` | Defines the publish to production strategy. One of `manual` (i.e. _one-click_), `auto` or `none` (disabled). | `manual` | | `release-extra-tags-pattern` / `DOCKER_RELEASE_EXTRA_TAGS_PATTERN` | Defines the image tag pattern that `$DOCKER_RELEASE_IMAGE` should match to push extra tags (supports capturing groups - [see below](#using-extra-tags)) | `^v?(?P<major>[0-9]+)\\.(?P<minor>[0-9]+)\\.(?P<patch>[0-9]+)(?P<suffix>(?P<prerelease>-[0-9A-Za-z-\\.]+)?(?P<build>\\+[0-9A-Za-z-\\.]+)?)$` _(SemVer pattern)_ | diff --git a/kicker.json b/kicker.json index cae8216..7116d97 100644 --- a/kicker.json +++ b/kicker.json @@ -21,7 +21,7 @@ { "name": "DOCKER_BUILDAH_IMAGE", "description": "The image used to run buildah\n\n_for buildah build only_", - "default": "quay.io/buildah/stable:latest" + "default": "quay.io/containers/aio:latest" }, { "name": "DOCKER_IMAGE", @@ -36,7 +36,7 @@ { "name": "DOCKER_SKOPEO_IMAGE", "description": "The image used to publish docker image with Skopeo", - "default": "quay.io/skopeo/stable:latest" + "default": "quay.io/containers/aio:latest" }, { "name": "DOCKER_FILE", diff --git a/templates/gitlab-ci-docker.yml b/templates/gitlab-ci-docker.yml index d9f9322..da7ae68 100644 --- a/templates/gitlab-ci-docker.yml +++ b/templates/gitlab-ci-docker.yml @@ -33,7 +33,7 @@ spec: The image used to run buildah _for buildah build only_ - default: quay.io/buildah/stable:latest + default: quay.io/containers/aio:latest image: description: |- The image used to run the docker client @@ -48,7 +48,7 @@ spec: default: registry.hub.docker.com/library/docker:dind skopeo-image: description: The image used to publish docker image with Skopeo - default: quay.io/skopeo/stable:latest + default: quay.io/containers/aio:latest file: description: The path to your `Dockerfile` default: Dockerfile -- GitLab