Skip to content

feat: 🎸 增加容错 #22

feat: 🎸 增加容错

feat: 🎸 增加容错 #22

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- main
jobs:
build:
if: contains(github.event.head_commit.message, '[skip ci]') == false
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: dannicool
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/Dockerfile
push: true
tags: dannicool/wechatbot-provider-windows:latest
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max