Skip to content

Added mirror-json

Added mirror-json #14

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build container images
run: >-
./mvnw spring-boot:build-image -q -B -DskipTests
-Dsha="-${GITHUB_SHA::6}"
-Dspring-boot.build-image.publish=true
-Ddocker.publishRegistry.username=${{ github.actor }}
-Ddocker.publishRegistry.password=${{ secrets.GITHUB_TOKEN }}
-Ddocker.publishRegistry.url=ghcr.io