diff --git a/.github/workflows/docker-image-multi-arch.yml b/.github/workflows/docker-image-multi-arch.yml index 0e69916..021423f 100644 --- a/.github/workflows/docker-image-multi-arch.yml +++ b/.github/workflows/docker-image-multi-arch.yml @@ -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