File tree 1 file changed +3
-25
lines changed
1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change 9
9
if : |
10
10
github.event_name == 'push' ||
11
11
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
15
15
16
16
strategy :
17
17
fail-fast : false
61
61
# that all tags will exists always.
62
62
run : git fetch --tags -f
63
63
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
-
86
64
- name : Create packages
87
65
run : ./packpack/packpack
88
66
You can’t perform that action at this time.
0 commit comments