deps: bump org.springframework.boot from 3.4.4 to 3.4.5 in /book-service #66
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Edge Service - Commit Stage | |
on: push | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: thomasvitale/gateway/edge-service | |
VERSION: main | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Set up GraalVM | |
uses: graalvm/setup-graalvm@6f327093bb6a42fe5eac053d21b168c46aa46f22 # v1.2.4 | |
with: | |
java-version: '24' | |
distribution: 'graalvm-community' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build, unit tests and integration tests | |
run: | | |
cd edge-service | |
chmod +x gradlew | |
./gradlew clean build | |
package: | |
name: Package and Publish | |
needs: [ build ] | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
packages: write | |
security-events: write | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Set up GraalVM | |
uses: graalvm/setup-graalvm@6f327093bb6a42fe5eac053d21b168c46aa46f22 # v1.2.4 | |
with: | |
java-version: '24' | |
distribution: 'graalvm-community' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build container image | |
run: | | |
cd edge-service | |
chmod +x gradlew | |
./gradlew bootBuildImage \ | |
--imageName ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} | |
- name: Authenticate with the container registry | |
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 | |
with: | |
username: ${{ github.actor }} | |
password: ${{ secrets.MY_TOKEN }} | |
registry: ${{ env.REGISTRY }} | |
- name: Publish container image | |
run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} |