Update .forgejo/workflows/build-latest.yml
Some checks failed
Build Docker Image / docker (push) Failing after 27s
Some checks failed
Build Docker Image / docker (push) Failing after 27s
This commit is contained in:
parent
87b18c5008
commit
86948c6f07
1 changed files with 9 additions and 1 deletions
|
|
@ -9,22 +9,30 @@ on:
|
|||
jobs:
|
||||
docker:
|
||||
runs-on: docker
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
with:
|
||||
registry: docker.io
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
with:
|
||||
push: true
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
tags: pupsiehub/vrcauthproxy:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue