From dd9ea96f5873d626f896155b6a6e281f063184a0 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Wed, 13 Mar 2024 10:14:26 +0100 Subject: [PATCH] test workflow build and push on gitea registry --- .github/workflows/build.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76eaf31..f152547 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,8 @@ on: jobs: build_and_push: - runs-on: docker-latest + runs-on: ubuntu-latest + container: image: ghcr.io/catthehacker/ubuntu:act-latest @@ -16,21 +17,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: 'install docker-ce-cli' - run: | - apt-get update - apt-get install -y ca-certificates curl - install -m 0755 -d /etc/apt/keyrings - curl -fsSL https://download.docker.com/linux/ubuntu/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/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - tee /etc/apt/sources.list.d/docker.list > /dev/null - apt-get update - apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - usermod -aG docker $USER - - name: Login to Docker Registry uses: docker/login-action@v2 with: