From 1491e064a73d5bc99444cb6ca85a5f53dcadd996 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 23 Mar 2023 14:58:10 +0000 Subject: [PATCH] test gitea actions --- .gitea/workflows/deploy.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 1dfbd30..32da777 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -20,11 +20,13 @@ jobs: - name: install docker run: | apt-get update - apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + apt-get install -y ca-certificates curl gnupg lsb-release + mkdir -m 0755 -p /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | 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/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + chmod a+r /etc/apt/keyrings/docker.gpg apt-get update - apt-get install -y docker-ce docker-ce-cli containerd.io + apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - run: hostname - run: pwd - run: ls -la