Update .forgejo/workflows/build-latest.yml
Some checks failed
Build Docker Image / docker (push) Failing after 27s

This commit is contained in:
lillith 2025-05-22 14:56:26 -04:00
parent 87b18c5008
commit 86948c6f07

View file

@ -9,22 +9,30 @@ on:
jobs: jobs:
docker: docker:
runs-on: docker runs-on: docker
env:
DOCKER_HOST: tcp://docker-in-docker:2375
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
env:
DOCKER_HOST: tcp://docker-in-docker:2375
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
env:
DOCKER_HOST: tcp://docker-in-docker:2375
with: with:
registry: docker.io registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
env:
DOCKER_HOST: tcp://docker-in-docker:2375
with: with:
push: true push: true
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64 platforms: linux/amd64
tags: pupsiehub/vrcauthproxy:latest tags: pupsiehub/vrcauthproxy:latest
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max