Bump docker/setup-buildx-action from 2 to 3 #343
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: {} | |
jobs: | |
yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ibiqlik/action-yamllint@v3 | |
with: | |
format: colored | |
strict: true | |
markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: avto-dev/markdown-lint@v1 | |
with: | |
args: /github/workspace | |
json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: limitusus/[email protected] | |
with: | |
pattern: \\.json$ | |
dockerfile: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
context: [base, temurin, temurin-import, distroless, distroless-import] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hadolint/[email protected] | |
with: | |
dockerfile: src/main/docker/${{ matrix.context }}/Dockerfile | |
verify: | |
runs-on: ubuntu-latest | |
if: ${{ github.ref != 'refs/heads/main' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
image: [temurin, distroless] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: maven | |
- run: mvn -B -ntp verify -Dimage.tag.test=${{ matrix.image }} -Dk3s.skipRm | |
- name: Run kubectl logs -l app.kubernetes.io/name=keycloak | |
run: export KUBECONFIG=/home/runner/.kube/k3s-maven-plugin/mount/kubeconfig.yaml && kubectl logs -l app.kubernetes.io/name=keycloak --tail -1 | |
if: ${{ failure() }} |