Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
run-spring-boot-build:
needs: input-checks
if: inputs.application-type == 'spring-boot'
uses: felleslosninger/github-workflows/.github/workflows/ci-spring-boot-build-publish-image.yml@main
uses: felleslosninger/github-workflows/.github/workflows/ci-spring-boot-build-publish-image.yml@docker-api-env-test
with:
image-name: ${{ inputs.image-name }}
image-pack: ${{ inputs.image-pack }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci-spring-boot-build-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ jobs:
contents: write
packages: write

env:
DOCKER_MIN_API_VERSION: 1.24

steps:
- name: Set image tag
id: set-image-tag
Expand Down Expand Up @@ -196,7 +199,7 @@ jobs:
- name: Build image with Maven/Spring Boot (module-name)
if: inputs.module-name != ''
run: |
mvn install -B spring-boot:build-image \
DOCKER_MIN_API_VERSION=1.24 mvn install -B spring-boot:build-image \
-pl ${{ inputs.module-name }} -am \
-Dspring-boot.build-image.imageName=${{ steps.set-image-name.outputs.image-name }}:${{ steps.set-image-tag.outputs.image-tag }} \
-Dspring-boot.build-image.builder=paketobuildpacks/${{ inputs.image-pack }}:${{ inputs.image-pack-tag }} \
Expand Down