diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 07d16c3e998..579441b7e9e 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -137,10 +137,6 @@ jobs: -d "Dockerfile-server" \ ghcr.io/projectnessie/nessie - # Add version to the openapi file name - cp api/model/build/generated/openapi/META-INF/openapi/openapi.yaml api/model/build/nessie-openapi-${RELEASE_VERSION}.yaml - - cp gc/gc-tool/build/executable/nessie-gc gc/gc-tool/build/executable/nessie-gc-${RELEASE_VERSION} tools/dockerbuild/build-push-images.sh \ -a "${ARTIFACTS}" \ -g ":nessie-gc-tool" \ @@ -148,6 +144,11 @@ jobs: -d "Dockerfile-gctool" \ ghcr.io/projectnessie/nessie-gc + # Add version to the openapi file name + cp api/model/build/generated/openapi/META-INF/openapi/openapi.yaml api/model/build/nessie-openapi-${RELEASE_VERSION}.yaml + # Add version to nessie-gc executable (jar) + cp gc/gc-tool/build/executable/nessie-gc gc/gc-tool/build/executable/nessie-gc-${RELEASE_VERSION} + echo "QUARKUS_UBER_JAR=${ARTIFACTS}/nessie-quarkus-${RELEASE_VERSION}-runner.jar" >> ${GITHUB_ENV} echo "CLI_UBER_JAR=${ARTIFACTS}/nessie-quarkus-cli-${RELEASE_VERSION}-runner.jar" >> ${GITHUB_ENV} echo "GC_EXEC=gc/gc-tool/build/executable/nessie-gc-${RELEASE_VERSION}" >> ${GITHUB_ENV}