From c0e8b59f00331e9fefc664cf35f99ed4a3e99341 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 3 Jan 2025 21:15:33 +0100 Subject: [PATCH] update docker used for building: catthehacker/ubuntu:act-latest instead of debian:stable-slim --- .gitea/workflows/docker.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 023abd2..d3d55bd 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -10,21 +10,22 @@ jobs: docker: #runs-on: ubuntu-latest container: - image: debian:stable-slim + image: catthehacker/ubuntu:act-latest + #image: debian:stable-slim steps: - - name: install prerequisites - run: | - apt update - apt install -yq nodejs git curl - - - name: manually install docker-ce-cli - run: | - install -m 0755 -d /etc/apt/keyrings - curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc - chmod a+r /etc/apt/keyrings/docker.asc - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null - apt update - apt install -yq docker-ce-cli +# - name: install prerequisites +# run: | +# apt update +# apt install -yq nodejs git curl +# +# - name: manually install docker-ce-cli +# run: | +# install -m 0755 -d /etc/apt/keyrings +# curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc +# chmod a+r /etc/apt/keyrings/docker.asc +# echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null +# apt update +# apt install -yq docker-ce-cli - uses: actions/checkout@v4 # with: @@ -33,7 +34,7 @@ jobs: # token: ${{ secrets.DOCKER_API_TOKEN }} # #fetch-depth: 0 - #- uses: docker/setup-buildx-action@v3 + - uses: docker/setup-buildx-action@v3 - uses: docker/login-action@v3 with: