Skip to content

Commit

Permalink
multiarch: docker install
Browse files Browse the repository at this point in the history
  • Loading branch information
pepov committed Nov 13, 2024
1 parent 9439ea5 commit c495fcd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker-image-multi-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
packages: write

steps:
# - shell: bash
# name: Install docker
# run: |
# sudo mkdir -m 0755 -p /etc/apt/keyrings
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/$(lsb_release -i | awk '{ print tolower($3) }') $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list 1>/dev/null
# sudo apt-get update
# sudo apt-get install -y acl docker-ce docker-ce-cli containerd.io docker-buildx-plugin
# USERID=$(id -u)
# sudo setfacl --modify user:${USERID}:rw /var/run/docker.sock
- shell: bash
name: Install docker
run: |
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/$(lsb_release -i | awk '{ print tolower($3) }') $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list 1>/dev/null
sudo apt-get update
sudo apt-get install -y acl docker-ce docker-ce-cli containerd.io docker-buildx-plugin
USERID=$(id -u)
sudo setfacl --modify user:${USERID}:rw /var/run/docker.sock
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c495fcd

Please sign in to comment.