fix: Docker version releases by removing arm/v6 and arm/v7 support (#8976)
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
4
.github/workflows/release-automated.yml
vendored
4
.github/workflows/release-automated.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
4
.github/workflows/release-manual-docker.yml
vendored
4
.github/workflows/release-manual-docker.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user