diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ee28a7ee3..711a844574 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: check-docker: name: Docker Build timeout-minutes: 15 - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 1f517abf79..21f5bb31e7 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -42,7 +42,7 @@ jobs: env: REGISTRY: docker.io IMAGE_NAME: parseplatform/parse-server - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest permissions: contents: read packages: write @@ -78,7 +78,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8 + platforms: linux/amd64, linux/arm64/v8 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/release-manual-docker.yml b/.github/workflows/release-manual-docker.yml index 98d5ef83dd..3b7ee8c0ab 100644 --- a/.github/workflows/release-manual-docker.yml +++ b/.github/workflows/release-manual-docker.yml @@ -14,7 +14,7 @@ env: IMAGE_NAME: parseplatform/parse-server jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest permissions: contents: read packages: write @@ -51,7 +51,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8 + platforms: linux/amd64, linux/arm64/v8 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 3cb4e2530c..413a9bd279 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################ # Build stage ############################################################ -FROM node:18-alpine AS build +FROM node:lts-alpine AS build RUN apk --no-cache add git WORKDIR /tmp @@ -24,7 +24,7 @@ RUN npm ci --omit=dev --ignore-scripts \ ############################################################ # Release stage ############################################################ -FROM node:18-alpine AS release +FROM node:lts-alpine AS release VOLUME /parse-server/cloud /parse-server/config