From 67fa9181042ca87e3df7fbf70bda20cf34300c27 Mon Sep 17 00:00:00 2001 From: Neshura Date: Thu, 16 Nov 2023 19:10:00 +0000 Subject: [PATCH] Fix workflow --- .forgejo/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 078f69e..5ec2e14 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Install Node.js - run: apt install -y nodejs + run: apk add nodejs npm - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -27,11 +27,12 @@ jobs: tags: forgejo.neshweb.net/neshura/docker-dind-bash:latest build-container-fallback: - if: failure() + needs: [build-container] runs-on: docker steps: - name: Prepare Container Environment + if: failure() run: | install -m 0755 -d /etc/apt/keyrings; \ curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \