Skip to content

Commit a88e058

Browse files
authored
Merge pull request #160 from splitio/update-alpine
Update alpine & fix vulns
2 parents 8f3c963 + 0a820b2 commit a88e058

8 files changed

Lines changed: 142 additions & 137 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
password: ${{ secrets.ARTIFACTORY_DOCKER_PASS }}
1818

1919
- name: Checkout code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Create build version
2323
run: echo "BUILD_VERSION=$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')" >> $GITHUB_ENV
2424

2525
- name: Docker Build and Push
26-
uses: docker/build-push-action@v3
26+
uses: docker/build-push-action@v5
2727
with:
2828
context: .
2929
push: true

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Install Node.js
1616
uses: actions/setup-node@v3
1717
with:
18-
node-version: 18.16.0
18+
node-version: 18.18.0
1919

2020
- run: npm ci
2121
- run: npm run lint
@@ -26,10 +26,10 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Docker Build
32-
uses: docker/build-push-action@v3
32+
uses: docker/build-push-action@v5
3333
with:
3434
context: .
3535
push: false

.github/workflows/unstable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
password: ${{ secrets.ARTIFACTORY_DOCKER_PASS }}
1818

1919
- name: Checkout code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Create build version
2323
run: echo "BUILD_VERSION=$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')" >> $GITHUB_ENV
2424

2525
- name: Docker Build
26-
uses: docker/build-push-action@v3
26+
uses: docker/build-push-action@v5
2727
with:
2828
context: .
2929
push: true

.github/workflows/update-license-year.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919

@@ -38,7 +38,7 @@ jobs:
3838
git commit -m "Updated License Year" -a
3939
4040
- name: Create Pull Request
41-
uses: peter-evans/create-pull-request@v3
41+
uses: peter-evans/create-pull-request@v5
4242
with:
4343
token: ${{ secrets.GITHUB_TOKEN }}
4444
title: Update License Year

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.13
1+
v18.18

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.4.0 (Oct XX, 2023)
2+
- Updated base image to node:18.18.2-alpine3.18
3+
14
2.3.2 (May 16, 2023)
25
- Updated @splitsoftware/splitio package to version 10.22.5 that includes:
36
- Updated terminology on the SDKs codebase to be more aligned with current standard without causing a breaking change. The core change is the term split for feature flag on things like logs and IntelliSense comments.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Builder stage
2-
FROM node:18.16.0-alpine3.18 AS builder
2+
FROM node:18.18.2-alpine3.18 AS builder
33

44
WORKDIR /usr/src/split-evaluator
55

@@ -8,7 +8,7 @@ COPY package.json package-lock.json ./
88
RUN npm install --only=production
99

1010
# Runner stage
11-
FROM node:18.16.0-alpine3.18 AS runner
11+
FROM node:18.18.2-alpine3.18 AS runner
1212

1313
WORKDIR /usr/src/split-evaluator
1414

0 commit comments

Comments
 (0)