From 9ef582b8676e26d6e6c9d699e28bcf00a7333b12 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Thu, 24 Nov 2022 23:01:46 -0500 Subject: [PATCH] Fix failures with updating tomcat support dependencies Resolves #102. Signed-off-by: Daniel Mikusa --- .github/pipeline-descriptor.yml | 21 +++++++++++-------- ...b-update-tomcat-access-logging-support.yml | 1 + .../pb-update-tomcat-lifecycle-support.yml | 1 + .../pb-update-tomcat-logging-support.yml | 1 + 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/pipeline-descriptor.yml b/.github/pipeline-descriptor.yml index 28f08b2..4655d38 100644 --- a/.github/pipeline-descriptor.yml +++ b/.github/pipeline-descriptor.yml @@ -117,18 +117,21 @@ dependencies: - id: tomcat-access-logging-support uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main with: - uri: https://repo.spring.io/release - group_id: org.cloudfoundry - artifact_id: tomcat-access-logging-support + uri: https://repo.spring.io/release + group_id: org.cloudfoundry + artifact_id: tomcat-access-logging-support + version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$" - id: tomcat-lifecycle-support uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main with: - uri: https://repo.spring.io/release - group_id: org.cloudfoundry - artifact_id: tomcat-lifecycle-support + uri: https://repo.spring.io/release + group_id: org.cloudfoundry + artifact_id: tomcat-lifecycle-support + version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$" - id: tomcat-logging-support uses: docker://ghcr.io/paketo-buildpacks/actions/maven-dependency:main with: - uri: https://repo.spring.io/release - group_id: org.cloudfoundry - artifact_id: tomcat-logging-support + uri: https://repo.spring.io/release + group_id: org.cloudfoundry + artifact_id: tomcat-logging-support + version_regex: "^[\\d]+\\.[\\d]+\\.[\\d]+\\.RELEASE$" diff --git a/.github/workflows/pb-update-tomcat-access-logging-support.yml b/.github/workflows/pb-update-tomcat-access-logging-support.yml index 3e1cf79..379a609 100644 --- a/.github/workflows/pb-update-tomcat-access-logging-support.yml +++ b/.github/workflows/pb-update-tomcat-access-logging-support.yml @@ -47,6 +47,7 @@ jobs: artifact_id: tomcat-access-logging-support group_id: org.cloudfoundry uri: https://repo.spring.io/release + version_regex: ^[\d]+\.[\d]+\.[\d]+\.RELEASE$ - name: Update Buildpack Dependency id: buildpack run: |- diff --git a/.github/workflows/pb-update-tomcat-lifecycle-support.yml b/.github/workflows/pb-update-tomcat-lifecycle-support.yml index b817131..4eee9ef 100644 --- a/.github/workflows/pb-update-tomcat-lifecycle-support.yml +++ b/.github/workflows/pb-update-tomcat-lifecycle-support.yml @@ -47,6 +47,7 @@ jobs: artifact_id: tomcat-lifecycle-support group_id: org.cloudfoundry uri: https://repo.spring.io/release + version_regex: ^[\d]+\.[\d]+\.[\d]+\.RELEASE$ - name: Update Buildpack Dependency id: buildpack run: |- diff --git a/.github/workflows/pb-update-tomcat-logging-support.yml b/.github/workflows/pb-update-tomcat-logging-support.yml index 61f430a..1546c5d 100644 --- a/.github/workflows/pb-update-tomcat-logging-support.yml +++ b/.github/workflows/pb-update-tomcat-logging-support.yml @@ -47,6 +47,7 @@ jobs: artifact_id: tomcat-logging-support group_id: org.cloudfoundry uri: https://repo.spring.io/release + version_regex: ^[\d]+\.[\d]+\.[\d]+\.RELEASE$ - name: Update Buildpack Dependency id: buildpack run: |-