diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d573c362..d7496c7e 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -12,7 +12,7 @@ jobs: version: 4.0.1 name: alfresco-enterprise-search-metadata path: search/enterprise/metadata - extension: jar + extension: -app.jar steps: - uses: actions/checkout@v4 diff --git a/scripts/fetch-artifact.sh b/scripts/fetch-artifact.sh index c87d89b3..1a5c9350 100644 --- a/scripts/fetch-artifact.sh +++ b/scripts/fetch-artifact.sh @@ -8,7 +8,7 @@ ARTIFACT_VERSION=$2 DEFAULT_ARTIFACT_VERSION=23.2.1 EXTENSION=$3 -DEFAULT_EXTENSION=zip +DEFAULT_EXTENSION=.zip GROUP_ID=$4 DEFAULT_GROUP_ID=org.alfresco @@ -33,4 +33,4 @@ GROUP_ID_AS_PATH=$(echo "$GROUP_ID" | tr . /) echo "Downloading $GROUP_ID:$ARTIFACT_NAME $ARTIFACT_VERSION from Nexus" -wget "https://nexus.alfresco.com/nexus/service/local/repositories/enterprise-releases/content/$GROUP_ID_AS_PATH/$ARTIFACT_NAME/${ARTIFACT_VERSION}/$ARTIFACT_NAME-${ARTIFACT_VERSION}.${EXTENSION}" \ +wget "https://nexus.alfresco.com/nexus/service/local/repositories/enterprise-releases/content/$GROUP_ID_AS_PATH/$ARTIFACT_NAME/${ARTIFACT_VERSION}/$ARTIFACT_NAME-${ARTIFACT_VERSION}${EXTENSION}" \ \ No newline at end of file diff --git a/search/enterprise/metadata/Dockerfile b/search/enterprise/metadata/Dockerfile index 42141c87..5aeca7f9 100644 --- a/search/enterprise/metadata/Dockerfile +++ b/search/enterprise/metadata/Dockerfile @@ -5,8 +5,8 @@ EXPOSE 8080 RUN yum install -y unzip -ADD *.jar /tmp/acrtifacts/ -RUN unzip /tmp/acrtifacts/*-app.jar -d /opt/app.jar +ADD *.jar /tmp/ +RUN unzip /tmp/*-app.jar -d /opt/app.jar WORKDIR /opt ENTRYPOINT exec java $JAVA_OPTS -jar app.jar