Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Update dependency org.testcontainers:postgresql to v1.20.5 (#752) #645

Update dependency org.testcontainers:postgresql to v1.20.5 (#752)

Update dependency org.testcontainers:postgresql to v1.20.5 (#752) #645

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- 'main'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4.7.0
with:
java-version: '21'
distribution: 'temurin'
- name: Vacuum OpenAPI Spec linter
uses: eduelias/gha-vacuum@v0.0.1
with:
cmd: vacuum lint -d openapi/src/main/resources/static/openapi.yaml
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Build with Gradle
run: ./gradlew --no-daemon test bootJar
- name: Log in to the Container registry
uses: docker/login-action@327cd5a69de6c009b9ce71bce8395f28e651bf99
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@8e1d5461f02b7886d3c1a774bfbd873650445aa2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}