chore(deps): bump version.org.keycloak from 22.0.1 to 22.0.2 #1716
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: Verify Build Workflow | |
on: | |
push: | |
paths-ignore: | |
- '.github/**' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- 'CODE_OF_CONDUCT*' | |
branches: [master] | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- 'CODE_OF_CONDUCT*' | |
branches: [master] | |
env: | |
PLATFORMS: linux/amd64,linux/arm64 | |
jobs: | |
build-verify: | |
name: Verify Build | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'Apicurio' | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Build Project | |
run: mvn clean install -Pprod | |
#- name: Run Integration Tests | |
# run: mvn install -pl :apicurio-studio-test-integration-arquillian -Pintegration | |
# Open-Source Machine emulator that allows you to emulate multiple CPU architectures on your machine | |
- name: Set up QEMU | |
if: github.event_name == 'push' | |
uses: docker/setup-qemu-action@v1 | |
# Docker CLI plugin for extended build capabilities with BuildKit | |
- name: Set up Docker Buildx | |
if: github.event_name == 'push' | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Inspect builder | |
if: github.event_name == 'push' | |
run: | | |
echo "Name: ${{ steps.buildx.outputs.name }}" | |
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}" | |
echo "Status: ${{ steps.buildx.outputs.status }}" | |
echo "Flags: ${{ steps.buildx.outputs.flags }}" | |
echo "Platforms: ${{ steps.buildx.outputs.platforms }}" | |
- name: Login to DockerHub Registry | |
if: github.event_name == 'push' | |
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin | |
- name: Login to Quay.io Registry | |
if: github.event_name == 'push' | |
run: docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" quay.io | |
- name: Build and Publish Studio API | |
if: github.event_name == 'push' | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./platforms/quarkus/api | |
file: ./platforms/quarkus/api/Dockerfile | |
platforms: ${{env.PLATFORMS}} | |
push: true | |
tags: | | |
docker.io/apicurio/apicurio-studio-api:latest-snapshot | |
quay.io/apicurio/apicurio-studio-api:latest-snapshot | |
- name: Build and Publish Studio WS | |
if: github.event_name == 'push' | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./platforms/quarkus/ws | |
file: ./platforms/quarkus/ws/Dockerfile | |
platforms: ${{env.PLATFORMS}} | |
push: true | |
tags: | | |
docker.io/apicurio/apicurio-studio-ws:latest-snapshot | |
quay.io/apicurio/apicurio-studio-ws:latest-snapshot | |
- name: Build and Publish Studio UI | |
if: github.event_name == 'push' | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./platforms/quarkus/ui | |
file: ./platforms/quarkus/ui/Dockerfile | |
platforms: ${{env.PLATFORMS}} | |
push: true | |
tags: | | |
docker.io/apicurio/apicurio-studio-ui:latest-snapshot | |
quay.io/apicurio/apicurio-studio-ui:latest-snapshot | |