From 1824582a49baf1ca6e8b61b88b0ca58e8e982710 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 13 Apr 2023 22:45:21 +0200 Subject: [PATCH] fix(ci): migrate to gitea actions --- .gitea/workflows/build.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 14e6442..3edb448 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,7 +12,19 @@ jobs: steps: - name: checkout repo uses: actions/checkout@v3 + - name: Install docker + run: + apt-get update --yes + apt-get install --yes + ca-certificates + curl + gnupg + install -m 0755 -d /etc/apt/keyrings + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg + chmod a+r /etc/apt/keyrings/docker.gpg + echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] 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 --yes + apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + - name: build application - run: | - ls -la /run - make container-image/build CONTAINER_RUNTIME=docker \ No newline at end of file + run: make container-image/build CONTAINER_RUNTIME=docker \ No newline at end of file