File tree Expand file tree Collapse file tree 1 file changed +3
-25
lines changed
Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change 99 if : |
1010 github.event_name == 'push' ||
1111 github.event.pull_request.head.repo.full_name != github.repository
12- # We use a particular version of the distribution because we want to install
13- # a particular version of Docker.
14- runs-on : ubuntu-22 .04
12+ # Packaging for CentOS 7 does not work with other versions, see:
13+ # https://github.com/packpack/packpack/issues/145
14+ runs-on : ubuntu-18 .04
1515
1616 strategy :
1717 fail-fast : false
6161 # that all tags will exists always.
6262 run : git fetch --tags -f
6363
64- # We use a specific version of Docker because otherwise we have a problem
65- # with sudoers on CentOS7.
66- # See more details: https://github.com/packpack/packpack/issues/145
67- - name : Reinstall Docker
68- if : |
69- matrix.platform.os == 'el' &&
70- matrix.platform.dist == '7'
71- run : |
72- sudo apt-get -y purge moby-containerd* moby-engine* moby-runc*
73- sudo mkdir -p /etc/apt/keyrings
74- curl -fsSL ${DOCKER_URL}/gpg | sudo gpg --dearmor -o ${GPG_KEY}
75- echo "deb [arch=$(dpkg --print-architecture) signed-by=${GPG_KEY}] \
76- ${DOCKER_URL} $(lsb_release -cs) stable" | \
77- sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
78- sudo apt-get update
79- sudo apt-get -y install docker-ce=${DOCKER_VERSION} \
80- docker-ce-cli=${DOCKER_VERSION}
81- env :
82- DOCKER_URL : https://download.docker.com/linux/ubuntu
83- DOCKER_VERSION : 5:20.10.17~3-0~ubuntu-jammy
84- GPG_KEY : /etc/apt/keyrings/docker.gpg
85-
8664 - name : Create packages
8765 run : ./packpack/packpack
8866
You can’t perform that action at this time.
0 commit comments