File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ jobs:
30
30
run : |
31
31
if [[ "${{ github.ref }}" =~ ^refs/heads/main ]]
32
32
then
33
- echo "::set-output name= environment:: production"
33
+ echo "environment= production" >> $GITHUB_OUTPUT
34
34
elif [[ "${{ github.ref }}" =~ ^refs/heads/develop ]]
35
35
then
36
- echo "::set-output name= environment:: development"
36
+ echo "environment= development" >> $GITHUB_OUTPUT
37
37
fi
38
- echo "::set-output name= docker_env_tag:: ${GITHUB_REF#refs/*/}-$GITHUB_SHA"
38
+ echo "docker_env_tag= ${GITHUB_REF#refs/*/}-$GITHUB_SHA" >> $GITHUB_OUTPUT
39
39
40
40
build-image :
41
41
name : Build Image
68
68
- uses : actions/checkout@v2
69
69
- name : Set Environment
70
70
run : |
71
- cat ".github/env.${{ needs.get-environment.outputs.environment }}" | grep -E -v '^\ *#' >>$GITHUB_ENV
71
+ cat ".github/env.${{ needs.get-environment.outputs.environment }}" | grep -E -v '^\ *#' >> $GITHUB_ENV
72
72
- name : Helm Deploy
73
73
uses : koslib/helm-eks-action@v1.8.0
74
74
with :
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ COPY ormconfig.js ./
40
40
COPY entrypoints/ ./
41
41
COPY package.json ./
42
42
43
+ # update npm
44
+ RUN npm -g install npm@^9.2.0
45
+
43
46
EXPOSE 3000
44
47
45
48
CMD [ "/bin/sh" , "run.sh" ]
You can’t perform that action at this time.
0 commit comments