From 57a42ff3c87e5cab6683469085e14e2a06978cda Mon Sep 17 00:00:00 2001 From: Dimitri Huisman <52963853+Diman0@users.noreply.github.com> Date: Tue, 28 Mar 2023 21:04:22 +0200 Subject: [PATCH] Update instructions for syncing alpine image --- core/base/Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/base/Dockerfile b/core/base/Dockerfile index 479da111..b260bbad 100644 --- a/core/base/Dockerfile +++ b/core/base/Dockerfile @@ -1,14 +1,8 @@ # syntax=docker/dockerfile-upstream:1.4.3 # base system image (intermediate) -# Note when updating tag, also update it in .github/workflows/mirror.yml. -# Then run that workflow at least once to pull & mirror the new alpine image. Or do it manually via: -# echo "$MY_GH_PAT" | docker login --username "my_gh_user_name" --password-stdin ghcr.io -# curl -L https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64 >regctl -# chmod 755 regctl -# ./regctl image copy docker.io/alpine:3.17.2 ghcr.io/mailu/alpine:3.17.2 -# rm regctl -# docker logout ghcr.io +# Note when updating the alpine tag, first manually run the workflow .github/workflows/mirror.yml. +# Just run the workflow with the tag that must be synchronised. ARG DISTRO=ghcr.io/mailu/alpine:3.17.2 FROM $DISTRO as system