Skip to content

Commit b137bb7

Browse files
committed
ci: bump skopeo
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 12b4e13 commit b137bb7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pack/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,20 +255,20 @@ RUN <<EOF
255255
skopeo
256256

257257
IFS="." read -r MAJOR MINOR PATCH <<< "$(skopeo --version | awk '{print $3}' | cut -d'-' -f1)"
258-
if (( MAJOR < 1 || ( MAJOR == 1 && MINOR < 14 ) )); then
259-
echo "Skopeo version ${MAJOR}.${MINOR} is lower than required 1.13.3, upgrading from source..."
258+
if (( MAJOR < 1 || ( MAJOR == 1 && MINOR < 21 ) )); then
259+
echo "Skopeo version ${MAJOR}.${MINOR} is lower than required 1.20.0, upgrading from source..."
260260

261261
apt-get install -y --no-install-recommends \
262262
libgpgme-dev \
263263
libdevmapper-dev
264264

265265
# Install Go
266-
curl --retry 3 --retry-connrefused -fL "https://go.dev/dl/go1.18.10.${TARGETOS}-${TARGETARCH}.tar.gz" | tar -zx -C /usr/local
266+
curl --retry 3 --retry-connrefused -fL "https://go.dev/dl/go1.23.3.${TARGETOS}-${TARGETARCH}.tar.gz" | tar -zx -C /usr/local
267267
export PATH="/usr/local/go/bin:${PATH}"
268268

269269
# Install Skopeo from source
270270
git -C /tmp clone --recursive --shallow-submodules \
271-
--depth 1 --branch v1.13.3 --single-branch \
271+
--depth 1 --branch v1.20.0 --single-branch \
272272
https://github.com/containers/skopeo.git skopeo
273273

274274
# Build and install

0 commit comments

Comments
 (0)