Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Jul 15, 2024
1 parent 74b7624 commit 50453c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/fetch-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}" \
4 changes: 2 additions & 2 deletions search/enterprise/metadata/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 50453c6

Please sign in to comment.