PagerMaid-Modify/.github/workflows/main.yml

26 lines
723 B
YAML
Raw Normal View History

2021-04-17 12:56:00 +00:00
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 }}