Skip to content

Bump am.ik.spring.ecs:logback-ecs-encoder-autoconfigure from 0.1.2 to 0.1.3 #27

Bump am.ik.spring.ecs:logback-ecs-encoder-autoconfigure from 0.1.2 to 0.1.3

Bump am.ik.spring.ecs:logback-ecs-encoder-autoconfigure from 0.1.2 to 0.1.3 #27

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- src/**
- ui/**
- pom.xml
- .github/workflows/*
pull_request:
branches:
- main
paths:
- src/**
- ui/**
- pom.xml
- .github/workflows/*
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Install GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Unit Tests
run: ./mvnw -V --no-transfer-progress clean test
- name: Executable Jar
run: |
set -e
./mvnw -V --no-transfer-progress package -DskipTests
java -jar target/*.jar --server.port=8080 &
.github/workflows/wait.sh
curl --fail --show-error --silent http://localhost:8080/actuator/health
pkill -KILL java
- name: Import Secrets
if: github.ref == 'refs/heads/main'
id: secrets
uses: hashicorp/[email protected]
with:
exportToken: true
exportEnv: true
method: jwt
url: ${{ secrets.VAULT_ADDR }}
role: cicd
secrets: |
kv/data/cicd/github api_token | GITHUB_API_TOKEN ;
kv/data/cicd/fly api_token | FLY_API_TOKEN
- name: Docker Login
if: github.ref == 'refs/heads/main'
run: docker login ghcr.io -u ${GITHUB_REPOSITORY_OWNER} -p ${GITHUB_API_TOKEN}
- name: Build Docker Image (JVM)
if: github.ref == 'refs/heads/main'
run: |
set -e
./mvnw -V --no-transfer-progress spring-boot:build-image -DskipTests -Dspring-boot.build-image.imageName=ghcr.io/${GITHUB_REPOSITORY}:jvm
- name: Build Docker Image (Native)
if: github.ref == 'refs/heads/main'
run: |
set -e
./mvnw -V --no-transfer-progress spring-boot:build-image -Pnative -DskipTests -Dspring-boot.build-image.imageName=ghcr.io/${GITHUB_REPOSITORY}:native
- name: Docker Push
if: github.ref == 'refs/heads/main'
run: |
set -e
docker push ghcr.io/${GITHUB_REPOSITORY}:jvm
docker push ghcr.io/${GITHUB_REPOSITORY}:native