Skip to content

fix jenkins lombok

fix jenkins lombok #24

Workflow file for this run

name: Publish to Docker
on:
push:
branches:
- main
permissions:
packages: write
jobs:
# test:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK 19
# uses: actions/setup-java@v3
# with:
# java-version: '19'
# distribution: 'temurin'
# cache: maven
# - name: run all tests
# run: mvn test package --file pom.xml
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Add your test steps here if needed...
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/chfle/spring_todo_app
tags: type=sha
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}