Skip to content

Commit

Permalink
Workaround for old version of Skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xg0nz0 committed Apr 13, 2024
1 parent 0ff9b03 commit d0ec2aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/devcontainer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
use: true
- name: Install updated Skopeo
# This can be omitted once runner images have a version of Skopeo > 1.4.1
# See https://github.com/containers/skopeo/issues/1874
run: |
REPO_URL="https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04"
sudo sh -c "echo 'deb ${REPO_URL}/ /' > /etc/apt/sources.list.d/skopeo.list"
curl -fsSL ${REPO_URL}/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/skopeo.gpg > /dev/null
sudo apt update
sudo apt install skopeo
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit d0ec2aa

Please sign in to comment.