Skip to content

Commit 0d82a2f

Browse files
committed
Merge branch 'w/127.0/bugfix/fix-skopeo-version' into tmp/octopus/w/128.0/bugfix/fix-skopeo-version
2 parents 6752f47 + c4ee1c0 commit 0d82a2f

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/build.yaml

+15-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,21 @@ jobs:
6868
sudo apt-get install --no-install-recommends -y \
6969
genisoimage \
7070
isomd5sum \
71-
hardlink
71+
hardlink \
72+
libgpgme-dev libassuan-dev libbtrfs-dev pkg-config libdevmapper-dev
73+
- name: Install skopeo
74+
# NOTE: We install skopeo from sources since the version available in "classic"
75+
# repositories is too old and not compatible with docker > 1.25 (which is the one embedded
76+
# in the image we use here)
77+
env:
78+
SKOPEO_VERSION: 1.15.1
79+
run: |
80+
curl -Lo skopeo.tar.gz https://github.com/containers/skopeo/archive/refs/tags/v${SKOPEO_VERSION}.tar.gz && \
81+
tar -zxf skopeo.tar.gz && \
82+
cd skopeo-${SKOPEO_VERSION} && \
83+
make bin/skopeo && \
84+
sudo mv bin/skopeo /usr/local/bin/ && \
85+
cd .. && rm -rf skopeo.tar.gz skopeo-${SKOPEO_VERSION}
7286
- name: Build everything
7387
run: ./doit.sh -n 4 --verbosity 2 --failure-verbosity 2
7488
- name: Prepare artifacts

0 commit comments

Comments
 (0)