From e0735b57ced045aa8865ac4622fcdbf6df12a6d8 Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Tue, 20 Jul 2021 15:47:28 +0000 Subject: [PATCH] Maint: build all images fully in parallel --- .github/workflows/ci.yml | 1 - Dockerfile | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad9acf36..77dce348 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,6 @@ jobs: CREATED=${{ steps.vars.outputs.created }} COMMIT=${{ steps.vars.outputs.commit }} VERSION=${{ steps.vars.outputs.version }} - ALLTARGETPLATFORMS=${{ steps.vars.outputs.platforms }} tags: | qmcgaw/gluetun:${{ steps.vars.outputs.version }} qmcgaw/private-internet-access:${{ steps.vars.outputs.version }} diff --git a/Dockerfile b/Dockerfile index 7a7c29c3..7b622228 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,11 +41,9 @@ RUN git init && \ FROM --platform=${BUILDPLATFORM} base AS build ARG TARGETPLATFORM -ARG ALLTARGETPLATFORMS=${TARGETPLATFORM} ARG VERSION=unknown ARG CREATED="an unknown date" ARG COMMIT=unknown -RUN xcputranslate sleep -targetplatform ${TARGETPLATFORM} -buildtime=10s -order=${ALLTARGETPLATFORMS} RUN GOARCH="$(xcputranslate translate -field arch -targetplatform ${TARGETPLATFORM})" \ GOARM="$(xcputranslate translate -field arm -targetplatform ${TARGETPLATFORM})" \ go build -trimpath -ldflags="-s -w \