-
semantic-release-bot authored
## [5.4.1](https://gitlab.com/to-be-continuous/docker/compare/5.4.0...5.4.1) (2023-09-27) ### Bug Fixes * **cache-repo:** switch back to kaniko default behavior ([6e15c062](https://gitlab.com/to-be-continuous/docker/commit/6e15c0621030778b03b7ddf4cfa9635f672f970d))
semantic-release-bot authored## [5.4.1](https://gitlab.com/to-be-continuous/docker/compare/5.4.0...5.4.1) (2023-09-27) ### Bug Fixes * **cache-repo:** switch back to kaniko default behavior ([6e15c062](https://gitlab.com/to-be-continuous/docker/commit/6e15c0621030778b03b7ddf4cfa9635f672f970d))
gitlab-ci-docker-gcp.yml 1.02 KiB
# =====================================================================================================================
# === GCP Auth template variant
# =====================================================================================================================
variables:
TBC_GCP_AUTH_PROVIDER: "$CI_REGISTRY/to-be-continuous/tools/gcp-auth-provider:main"
GCP_OIDC_AUD: "$CI_SERVER_URL"
.docker-base:
services:
- name: "$TBC_TRACKING_IMAGE"
command: ["--service", "docker", "5.4.1"]
- name: "$TBC_GCP_AUTH_PROVIDER"
alias: "gcp-auth-provider"
variables:
# have to be explicitly declared in the YAML to be exported to the service
GCP_JWT: $GCP_JWT
DOCKER_REGISTRY_SNAPSHOT_USER: oauth2accesstoken
DOCKER_REGISTRY_RELEASE_USER: oauth2accesstoken
DOCKER_REGISTRY_SNAPSHOT_PASSWORD: '@url@http://gcp-auth-provider/token?envType=snapshot'
DOCKER_REGISTRY_RELEASE_PASSWORD: '@url@http://gcp-auth-provider/token?envType=release'
id_tokens:
GCP_JWT:
aud: "$GCP_OIDC_AUD"