Skip to content

Update dependency org.mybatis.spring.boot:mybatis-spring-boot-starter… #139

Update dependency org.mybatis.spring.boot:mybatis-spring-boot-starter…

Update dependency org.mybatis.spring.boot:mybatis-spring-boot-starter… #139

Workflow file for this run

name: Auto Build Image
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: todo-api
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: meta
with:
images: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.IMAGE_NAME }}
tags: type=sha
flavor: latest=false
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
cache: "gradle"
- name: build and push image
run: ./gradlew backend:api:jib --no-daemon -Djib.to.image=${{ steps.meta.outputs.tags }}