Skip to content

Commit d11eb1a

Browse files
committed
Merge branch 'master' into sarahchen6/mirror-images
2 parents 0805c51 + 76b21cf commit d11eb1a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ WORKDIR /home/non-root-user
132132
RUN <<-EOT
133133
set -eux
134134
sudo apt-get update
135-
sudo apt-get install -y curl tar apt-transport-https ca-certificates gnupg socat less debian-goodies autossh ca-certificates-java python3-pip locales jq git gh yq lsb-release lsof unzip parallel
135+
sudo apt-get install -y curl tar apt-transport-https ca-certificates gnupg socat less debian-goodies autossh ca-certificates-java python3-pip locales jq git gh yq lsb-release lsof unzip parallel xsltproc
136136
sudo locale-gen en_US.UTF-8
137137
sudo git config --system --add safe.directory "*"
138138

build

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,19 @@ function do_push() {
233233
}
234234

235235
function do_tag() {
236-
local tag token version
236+
local tag
237237
TAG_PREFIX=
238238
echo "Pulling latest images"
239239
for tag in base latest "${BASE_VARIANTS[@]}" "${VARIANTS[@]}"; do
240240
tag="${tag,,}"
241241
tag="$(image_name "${tag}")"
242242
docker pull "$tag"
243243
done
244-
version="$(date +%y.%m)"
245-
echo "Tagging version $version"
244+
echo "Tagging ci- images"
246245
for tag in base latest "${BASE_VARIANTS[@]}" "${VARIANTS[@]}"; do
247246
tag="${tag,,}"
248247
tag="$(image_name "${tag}")"
249-
new_tag="${tag/:/:v$version-}"
248+
new_tag="${tag/:/:ci-}"
250249
docker tag "$tag" "$new_tag"
251250
docker push "$new_tag"
252251
done

0 commit comments

Comments
 (0)