From 8e4116c3a5b0e3d3b08a1ee740b207a224462a34 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 09:22:51 -0800 Subject: [PATCH 1/9] fix: Docker release versions Signed-off-by: Corey --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 413a9bd279..3cb4e2530c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################ # Build stage ############################################################ -FROM node:lts-alpine AS build +FROM node:18-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:lts-alpine AS release +FROM node:18-alpine AS release VOLUME /parse-server/cloud /parse-server/config From 3d628bce3bb69d0b22ca11e2c76c0b3e908391be Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 09:26:04 -0800 Subject: [PATCH 2/9] Update ci.yml Signed-off-by: Corey --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 756e4e2419..9fffc354f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,20 +117,20 @@ jobs: check-docker: name: Docker Build timeout-minutes: 15 - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Build docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64 + platforms: linux/amd64, linux/arm64/v8 check-lock-file-version: name: NPM Lock File Version timeout-minutes: 5 From 675bd9534915fe6e012be00685f6b649b98e1dc0 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 09:27:36 -0800 Subject: [PATCH 3/9] Update release-automated.yml Signed-off-by: Corey --- .github/workflows/release-automated.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 271d4abca3..93265402b2 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-latest + runs-on: ubuntu-20.04 permissions: contents: read packages: write @@ -56,18 +56,18 @@ jobs: ref: ${{ needs.release.outputs.current_tag }} - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Log into Docker Hub if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor: | @@ -75,10 +75,10 @@ jobs: tags: | type=semver,pattern={{version}},value=${{ needs.release.outputs.current_tag }} - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8 + platforms: linux/amd64, linux/arm/v6, linux/arm64/v8 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -112,4 +112,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3.7.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs \ No newline at end of file + publish_dir: ./docs From c072f64d899b0fee93112843a2eeda559b121260 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 09:28:24 -0800 Subject: [PATCH 4/9] Update release-manual-docker.yml Signed-off-by: Corey --- .github/workflows/release-manual-docker.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-manual-docker.yml b/.github/workflows/release-manual-docker.yml index 1d19189c3a..a3377031ee 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-latest + runs-on: ubuntu-20.04 permissions: contents: read packages: write @@ -28,18 +28,18 @@ jobs: ref: ${{ github.event.inputs.ref }} - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Log into Docker Hub if: github.event_name != 'pull_request' - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor: | @@ -48,10 +48,10 @@ jobs: type=semver,enable=true,pattern={{version}},value=${{ github.event.inputs.ref }} type=raw,enable=${{ github.event.inputs.ref == '' }},value=latest - name: Build and push Docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8 + platforms: linux/amd64, linux/arm/v6, linux/arm64/v8 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} From af18cb4ba68f73d0776915e967f6729e2481f2b5 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 17:23:01 -0800 Subject: [PATCH 5/9] Update release-automated.yml Signed-off-by: Corey --- .github/workflows/release-automated.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index 93265402b2..f62bb0de1f 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -78,7 +78,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, 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 }} From d69d11cea86f3638adb63a66542ad77f58a9c763 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 17:23:22 -0800 Subject: [PATCH 6/9] Update release-manual-docker.yml Signed-off-by: Corey --- .github/workflows/release-manual-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-manual-docker.yml b/.github/workflows/release-manual-docker.yml index a3377031ee..5ef6f761d5 100644 --- a/.github/workflows/release-manual-docker.yml +++ b/.github/workflows/release-manual-docker.yml @@ -51,7 +51,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . - platforms: linux/amd64, linux/arm/v6, 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 }} From 9caea6de066f80f8d9bf5b8ec27ae9ddd2e071d3 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 17:54:37 -0800 Subject: [PATCH 7/9] Update ci.yml Signed-off-by: Corey --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fffc354f7..521bde0c01 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@v2 From 1f64812efc79f4dd03443d8da503af1b7100b4fb Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 17:55:00 -0800 Subject: [PATCH 8/9] Update release-automated.yml Signed-off-by: Corey --- .github/workflows/release-automated.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index f62bb0de1f..6b0d32e465 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 From 4228e8dc3166f2155b652c0a1d8f8d3faa783c62 Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 3 Mar 2024 17:55:24 -0800 Subject: [PATCH 9/9] Update release-manual-docker.yml Signed-off-by: Corey --- .github/workflows/release-manual-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-manual-docker.yml b/.github/workflows/release-manual-docker.yml index 5ef6f761d5..750cf0c434 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