From 76812b32d266bee6ca5843487bd5720399a41f97 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Thu, 7 Mar 2024 17:55:23 +0100 Subject: [PATCH] test workflow build and push on gitea registry --- .github/workflows/build.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99a176f..08b3e3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,20 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - # Installation de Docker - - name: Install Docker + - name: Install dependencies run: | apt-get update - apt-get install -y docker.io + apt-get install -y apt-transport-https ca-certificates curl software-properties-common + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + apt-get update + apt-get install -y docker-ce docker-ce-cli containerd.io + + # Installation de Docker + # - name: Install Docker + # run: | + # apt-get update + # apt-get install -y docker.io - name: Start Docker run: ln -s ~/.docker/run/docker.sock /var/run/docker.sock