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 }}