Fix workflow
Some checks failed
Build Custom docker:dind image / build-container-fallback (push) Failing after 45s
Build Custom docker:dind image / build-container (push) Has been cancelled

This commit is contained in:
Neshura 2023-11-16 19:10:00 +00:00
parent c77ec8d338
commit 67fa918104

View file

@ -8,7 +8,7 @@ jobs:
steps: steps:
- -
name: Install Node.js name: Install Node.js
run: apt install -y nodejs run: apk add nodejs npm
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
@ -27,11 +27,12 @@ jobs:
tags: forgejo.neshweb.net/neshura/docker-dind-bash:latest tags: forgejo.neshweb.net/neshura/docker-dind-bash:latest
build-container-fallback: build-container-fallback:
if: failure() needs: [build-container]
runs-on: docker runs-on: docker
steps: steps:
- -
name: Prepare Container Environment name: Prepare Container Environment
if: failure()
run: | run: |
install -m 0755 -d /etc/apt/keyrings; \ install -m 0755 -d /etc/apt/keyrings; \
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \ curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg; \