github.com/lyraproj/hiera@v1.0.0-rc4/.github/workflows/hiera_docker.yaml (about)

     1  name: Docker Image Build + Push
     2  
     3  on:
     4    push:
     5      branches:
     6        - master
     7      tags:
     8        - v*
     9  
    10  jobs:
    11  
    12    build:
    13      if: github.repository == 'lyraproj/hiera'
    14      runs-on: ubuntu-latest
    15   
    16      steps:
    17      - name: Check out repo
    18        uses: actions/checkout@master
    19      - name: Build and publish
    20        uses: elgohr/Publish-Docker-Github-Action@master
    21        with:
    22          name: lyraproj/hiera
    23          username: ${{ secrets.DOCKER_USERNAME }}
    24          password: ${{ secrets.DOCKER_PASSWORD }}