Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

prebuilt-tasks module must NOT depend on workflow-service-sdk #368

prebuilt-tasks module must NOT depend on workflow-service-sdk

prebuilt-tasks module must NOT depend on workflow-service-sdk #368

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: 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: 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##*/}