-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
32 lines (28 loc) · 919 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Spring Boot Bake'
description: 'Generate docker-bake.hcl and Dockerfile for "docker/bake-action" to build Spring Boot Docker Image'
branding:
color: 'green'
icon: 'power'
inputs:
base-image:
description: 'The base image to use for the Docker image'
required: false
default: 'eclipse-temurin:11-jre-jammy'
jarmode:
description: 'The mode used for executing the Spring Boot JAR file'
required: false
default: 'tools'
outputs:
bake-file:
description: 'The path to the generated docker-bake.hcl file'
value: ${{ steps.meta.outputs.bake-file }}
dockerfile:
description: 'The path to the generated Dockerfile'
value: ${{ steps.meta.outputs.dockerfile }}
runs:
using: 'composite'
steps:
- name: 'Spring Boot Bake'
shell: bash
id: meta
run: ${{ github.action_path }}/spring-boot-bake.sh "${{ inputs.base-image }}" "${{ inputs.jarmode }}"