Skip to content

return pending requests #379

return pending requests

return pending requests #379

Workflow file for this run

---
name: Main push
on:
push:
branches:
- main
- parodos-dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Go environment
uses: actions/setup-go@v4.0.1
with:
go-version: 'stable'
- name: Maven Verify
run: mvn clean verify
- name: Check generated files are up to date
run: |
if [[ $(git ls-files --others --exclude-standard) ]]; then echo "These files are not tracked by git"; git ls-files --others --exclude-standard; exit 1; fi
if [ -n "$(git status --porcelain)" ]; then echo "There are uncommitted changes:"; git status --short; exit 1; fi
- name: "Build container images"
run: |
make build-images GIT_BRANCH=${GITHUB_REF##*/}
make tag-images GIT_BRANCH=${GITHUB_REF##*/}
- name: "Security analysis of images"
run: |
make analyse-images stop-local-registry stop-clair
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: "quay.io"
username: "parodos-dev+githubpush"
password: "${{ secrets.QUAY_GITHUB_TOKEN }}"
- name: "Build container images"
run: |
make push-images GIT_BRANCH=${GITHUB_REF##*/}