We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5513dfc commit 0805c51Copy full SHA for 0805c51
1 file changed
build
@@ -233,19 +233,20 @@ function do_push() {
233
}
234
235
function do_tag() {
236
- local tag
+ local tag token version
237
TAG_PREFIX=
238
echo "Pulling latest images"
239
for tag in base latest "${BASE_VARIANTS[@]}" "${VARIANTS[@]}"; do
240
tag="${tag,,}"
241
tag="$(image_name "${tag}")"
242
docker pull "$tag"
243
done
244
- echo "Tagging ci- images"
+ version="$(date +%y.%m)"
245
+ echo "Tagging version $version"
246
247
248
- new_tag="${tag/:/:ci-}"
249
+ new_tag="${tag/:/:v$version-}"
250
docker tag "$tag" "$new_tag"
251
docker push "$new_tag"
252
0 commit comments