Skip to content

Build_Docker

Build_Docker #11

Workflow file for this run

name: Build Go-Proxy-BingAI
on:
workflow_dispatch:
repository_dispatch:
types:
- Build_Docker
jobs:
docker-build:
name: docker-build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: Asia/Shanghai
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64
context: .
file: ./Dockerfile
push: true
tags: |
docker.io/zklcdc/go-bingai-pass:latest