Skip to content

Commit

Permalink
Merge branch 'master' into fix-dot-slash-invalid-uri
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenepaniot committed Nov 18, 2022
2 parents a40941f + 38ff223 commit 8f7119d
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/packaging.yml
Expand Up @@ -11,9 +11,7 @@ on:

jobs:
package:
# We use a particular version of the distribution because we want to install
# a particular version of Docker.
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down Expand Up @@ -66,28 +64,6 @@ jobs:
# that all tags will exist always.
run: git fetch --tags -f

# We use a specific version of Docker because otherwise we have a problem
# with sudoers on CentOS7.
# See more details: https://github.com/packpack/packpack/issues/145
- name: Reinstall Docker
if: |
matrix.platform.os == 'el' &&
matrix.platform.dist == '7'
run: |
sudo apt-get -y purge moby-containerd* moby-engine* moby-runc*
sudo mkdir -p /etc/apt/keyrings
curl -fsSL ${DOCKER_URL}/gpg | sudo gpg --dearmor -o ${GPG_KEY}
echo "deb [arch=$(dpkg --print-architecture) signed-by=${GPG_KEY}] \
${DOCKER_URL} $(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce=${DOCKER_VERSION} \
docker-ce-cli=${DOCKER_VERSION}
env:
DOCKER_URL: https://download.docker.com/linux/ubuntu
DOCKER_VERSION: 5:20.10.17~3-0~ubuntu-jammy
GPG_KEY: /etc/apt/keyrings/docker.gpg

- name: Create packages
run: ./packpack/packpack

Expand Down

0 comments on commit 8f7119d

Please sign in to comment.