FAQ | This is a LIVE service | Changelog

Skip to content
Commits on Source (3)
......@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.4.2] - 2023-06-30
### Fixed
- `artifact-registry.yml`: include `latest` tag for development environments.
## [2.4.1] - 2023-06-29
### Fixed
......
......@@ -45,6 +45,7 @@ artifact-registry-push:
# This uses "${string%substring}" to remove everything after the "@" (and the "@" itself) from the image digest
# leaving a the hash prefix (e.g. "898d68000bd66376f44f0c1bb1bd73e68f2f0daa").
artifact_registry_image="$CI_ARTIFACT_REGISTRY_REPOSITORY:${CI_APPLICATION_TAG%@*}"
artifact_registry_image_latest="$CI_ARTIFACT_REGISTRY_REPOSITORY:latest"
gcloud auth --impersonate-service-account $ARTIFACT_REGISTRY_SERVICE_ACCOUNT print-access-token \
| docker login -u oauth2accesstoken --password-stdin $ARTIFACT_REGISTRY_DOCKER_REPOSITORY
......@@ -54,6 +55,7 @@ artifact-registry-push:
docker pull $gitlab_image
docker tag $gitlab_image $artifact_registry_image
docker push $artifact_registry_image
docker push $artifact_registry_image_latest
tags:
- $GKE_RUNNER_TAG
rules:
......