Remove court and global disputes from call filter for the main-net (#… #621
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: Docker Hub | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
tags: [ '*' ] | |
jobs: | |
hadolint: | |
runs-on: ubuntu-20.04 | |
name: "Hadolint" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: "./Dockerfile" | |
publish: | |
needs: hadolint | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Build and publish | |
run: | | |
# If it is a tag: | |
if [ -z "${GITHUB_REF##refs/tags/*}" ] ; then | |
./scripts/docker-hub-publish.sh ${GITHUB_REF#refs/tags/} | |
else | |
./scripts/docker-hub-publish.sh ${GITHUB_SHA} | |
fi | |
- name: Trivy Scan | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: 'zeitgeistpm/zeitgeist-node:latest' | |
format: 'sarif' | |
output: 'zetgeist-node-report.sarif' | |
severity: 'HIGH,CRITICAL' |