Skip to content

ci: separate build/push image to fix permission issues #186

ci: separate build/push image to fix permission issues

ci: separate build/push image to fix permission issues #186

Workflow file for this run

---
name: CI
on:
pull_request: {}
permissions:
contents: read
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- run: mvn --batch-mode --update-snapshots verify
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max