Skip to content

Merge pull request #80 from internetstandards/50 #300

Merge pull request #80 from internetstandards/50

Merge pull request #80 from internetstandards/50 #300

Workflow file for this run

name: QA and image building
on: [ push, pull_request ]
jobs:
build:
environment: Default
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build image
run: |
make image
- name: Login to Docker Hub
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push image to docker hub
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: |
make push_image