fix: Docker version releases by removing arm/v6 and arm/v7 support (#8976)

This commit is contained in:
Corey
2024-03-04 23:54:42 -08:00
committed by GitHub
parent f9c39edcbc
commit 1f62dd0f4e
4 changed files with 7 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ jobs:
check-docker: check-docker:
name: Docker Build name: Docker Build
timeout-minutes: 15 timeout-minutes: 15
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -42,7 +42,7 @@ jobs:
env: env:
REGISTRY: docker.io REGISTRY: docker.io
IMAGE_NAME: parseplatform/parse-server IMAGE_NAME: parseplatform/parse-server
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
packages: write packages: write
@@ -78,7 +78,7 @@ jobs:
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: . 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' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@@ -14,7 +14,7 @@ env:
IMAGE_NAME: parseplatform/parse-server IMAGE_NAME: parseplatform/parse-server
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
packages: write packages: write
@@ -51,7 +51,7 @@ jobs:
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: . 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' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@@ -1,7 +1,7 @@
############################################################ ############################################################
# Build stage # Build stage
############################################################ ############################################################
FROM node:18-alpine AS build FROM node:lts-alpine AS build
RUN apk --no-cache add git RUN apk --no-cache add git
WORKDIR /tmp WORKDIR /tmp
@@ -24,7 +24,7 @@ RUN npm ci --omit=dev --ignore-scripts \
############################################################ ############################################################
# Release stage # Release stage
############################################################ ############################################################
FROM node:18-alpine AS release FROM node:lts-alpine AS release
VOLUME /parse-server/cloud /parse-server/config VOLUME /parse-server/cloud /parse-server/config