fix login flow, fix access to published reports, fix homepage table i… #132
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |