feat: dind
Some checks failed
deploy / deploy (push) Failing after 11s

This commit is contained in:
ndsboy 2025-04-12 18:51:32 +00:00
parent 67547baa3b
commit c73b5a8dbf

View file

@ -17,18 +17,18 @@ jobs:
name: deploy
runs-on: docker
container:
image: quay.io/buildah/stable:latest
image: docker:dind
env:
STORAGE_DRIVER: vfs
DOCKER_HOST: tcp://host.docker.internal:2375
steps:
- name: download
run: curl https://${{ env.url }}/archive/main.tar.gz | tar -xz
- name: build
run: buildah build -f ${{ env.repo }}/Containerfile -t ${{ env.url }}:latest ${{ env.repo }}
run: docker buildx -f ${{ env.repo }}/Containerfile -t ${{ env.url }}:latest ${{ env.repo }}
- name: login
run: buildah login -u token -p ${{ env.token }} ${{ env.git }}
run: docker login -u token -p ${{ env.token }} ${{ env.git }}
- name: push
run: buildah push ${{ env.git }}/${{ github.repository }}:latest
run: docker push ${{ env.git }}/${{ github.repository }}:latest