👷 Fix docker automatic update

This commit is contained in:
Xtao_dada 2021-04-17 20:56:00 +08:00 committed by GitHub
parent fa469c72e1
commit 0bb94fa92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Docker"
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
name: Build PagerMaid Image
steps:
- name: Checkout master
uses: actions/checkout@master
- name: Build and publish image
uses: ilteoood/docker_buildx@master
with:
publish: true
imageName: mrwangzhe/pagermaid_modify
dockerFile: Dockerfile
platform: linux/amd64,linux/arm64,linux/arm/v7
tag: latest
dockerUser: ${{ secrets.DOCKER_USERNAME }}
dockerPassword: ${{ secrets.DOCKER_PASSWORD }}