This commit modifies the integration tests for the Maven and Gradle image building goal and task to use a custom builder as a test harness to verify that the plugins invoke the builder as expected. Fixes gh-25838
15 lines
662 B
Bash
Executable File
15 lines
662 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -x -eo pipefail
|
|
|
|
docker pull paketobuildpacks/build:tiny-cnb
|
|
docker tag paketobuildpacks/build:tiny-cnb projects.registry.vmware.com/springboot/build:tiny-cnb
|
|
docker push projects.registry.vmware.com/springboot/build:tiny-cnb
|
|
|
|
docker pull paketobuildpacks/run:tiny-cnb
|
|
docker tag paketobuildpacks/run:tiny-cnb projects.registry.vmware.com/springboot/run:tiny-cnb
|
|
docker push projects.registry.vmware.com/springboot/run:tiny-cnb
|
|
|
|
cd builder
|
|
pack builder create projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.1 --config builder.toml
|
|
docker push projects.registry.vmware.com/springboot/spring-boot-cnb-builder:0.0.1
|
|
cd - |