Skip to content

Commit

Permalink
Use node 18 for releases (#216)
Browse files Browse the repository at this point in the history
* Revert nodejs version to 18.12.1-alpine17

* Change alpine to 3.17
  • Loading branch information
harryzcy authored Jan 2, 2023
1 parent 01cbb1c commit 2e1a96e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
name: Build Docker Image
strategy:
matrix:
base-image: [alpine3.16, bullseye, buster]
base-image: [alpine3.17, bullseye, buster]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -57,10 +57,10 @@ jobs:
`${image_name}:${major}.${minor}.${patch}`,
]
const tags = []
if (base_image === 'alpine3.16') {
if (base_image === 'alpine3.17') {
tags.push(...version_tags.map(tag => `${tag}-alpine`))
tags.push(...version_tags.map(tag => `${tag}-alpine3.16`))
tags.push(`${image_name}:alpine`, `${image_name}:alpine3.16`)
tags.push(...version_tags.map(tag => `${tag}-alpine3.17`))
tags.push(`${image_name}:alpine`, `${image_name}:alpine3.17`)
core.exportVariable('DOCKERFILE_NAME', 'docker/Dockerfile.alpine')
} else if (base_image === 'bullseye') {
tags.push(...version_tags.map(tag => `${tag}-${base_image}`))
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:19.3.0-alpine3.16 as base
FROM node:18.12.1-alpine3.17 as base

FROM base as builder

Expand Down

0 comments on commit 2e1a96e

Please sign in to comment.