Skip to content

Commit

Permalink
Changed instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
alkaline-0 committed May 13, 2024
1 parent 9132477 commit 658a8f3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dockerise-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:
FILE_NAME=$(echo "main.js")
elif [[ -f ./app.js ]]; then
FILE_NAME=$(echo "app.js")
elif [[ -f ./index.js ]]; then
FILE_NAME=$(echo "index.js")
fi
echo "FILE_NAME=$FILE_NAME" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -185,7 +187,7 @@ jobs:
echo ${repo_name_lower_case}
if [ -f ./Dockerfile ]; then
docker build -t europe-west10-docker.pkg.dev/code-idp/idp-artifact-registry/${user_name_lower_case}-${repo_name_lower_case}:${SHA_VALUE} . --build-arg file_name=${{ steps.get_file_name.outputs.FILE_NAME }}
docker build -t europe-west10-docker.pkg.dev/code-idp/idp-artifact-registry/${user_name_lower_case}-${repo_name_lower_case}:${SHA_VALUE} --build-arg file_name=${{ steps.get_file_name.outputs.FILE_NAME }} .
docker push europe-west10-docker.pkg.dev/code-idp/idp-artifact-registry/${user_name_lower_case}-${repo_name_lower_case}:${SHA_VALUE}
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

4 changes: 3 additions & 1 deletion Dockerfiles/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ FROM base

ARG file_name

ENV FILE_NAME=$file_name

WORKDIR /usr/src/app

ENV NODE_ENV production
Expand All @@ -26,4 +28,4 @@ USER node
COPY --chown=node:node --from=build /usr/src/app/node_modules /usr/src/app/node_modules
COPY --chown=node:node . /usr/src/app

CMD dumb-init node ${file_name}
CMD dumb-init node $FILE_NAME
Submodule lillywallawitsch-Wondernest.Express deleted from 837425

This file was deleted.

1 change: 0 additions & 1 deletion submissions-2024/maggieekubat-Recipe/maggieekubat-Recipe
Submodule maggieekubat-Recipe deleted from a4c63a
3 changes: 0 additions & 3 deletions submissions-2024/maggieekubat-Recipe/values.yml

This file was deleted.

0 comments on commit 658a8f3

Please sign in to comment.