Add custom built dind as default build path with docker install as fallback
Some checks failed
Build Custom docker:dind image / build-container (push) Failing after 3s
Build Custom docker:dind image / build-container-fallback (push) Has been skipped

This commit is contained in:
Neshura 2023-11-16 19:04:39 +00:00
parent bd72ace198
commit 2fe40c4fb2

View file

@ -4,6 +4,28 @@ author: 'Neshura'
on: [push] on: [push]
jobs: jobs:
build-container: build-container:
runs-on: dind
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: forgejo.neshweb.net
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_TOKEN }}
-
name: Push to Package Registry
uses: docker/build-push-action@v5
with:
push: true
tags: forgejo.neshweb.net/neshura/docker-dind-bash:latest
build-container-fallback:
if: failure()
needs: build-container
runs-on: docker runs-on: docker
steps: steps:
- -