Skip to content

Commit 1f491ec

Browse files
committed
SCAN-5903 : Set cache version env var.
1 parent d1d4aab commit 1f491ec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
ref: ${{ github.head_ref || github.ref_name }}
4949
- uses : ./
50-
name: Run action against repoository
50+
name: Run action against repository
5151
with:
5252
apiUrl: ${{ secrets.CONTRAST__API__URL }}
5353
apiUserName: ${{ secrets.CONTRAST__API__USER_NAME }}

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ RUN apk upgrade && \
66
COPY package.json /contrast-local-scanner/package.json
77
RUN cd /contrast-local-scanner && npm i --production
88

9+
ENV ACTIONS_CACHE_SERVICE_V2 true
10+
911
COPY src /contrast-local-scanner/src
1012

1113
ENTRYPOINT ["node", "/contrast-local-scanner/src/index.js"]

0 commit comments

Comments
 (0)