Maint: build all images fully in parallel
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -93,7 +93,6 @@ jobs:
|
|||||||
CREATED=${{ steps.vars.outputs.created }}
|
CREATED=${{ steps.vars.outputs.created }}
|
||||||
COMMIT=${{ steps.vars.outputs.commit }}
|
COMMIT=${{ steps.vars.outputs.commit }}
|
||||||
VERSION=${{ steps.vars.outputs.version }}
|
VERSION=${{ steps.vars.outputs.version }}
|
||||||
ALLTARGETPLATFORMS=${{ steps.vars.outputs.platforms }}
|
|
||||||
tags: |
|
tags: |
|
||||||
qmcgaw/gluetun:${{ steps.vars.outputs.version }}
|
qmcgaw/gluetun:${{ steps.vars.outputs.version }}
|
||||||
qmcgaw/private-internet-access:${{ steps.vars.outputs.version }}
|
qmcgaw/private-internet-access:${{ steps.vars.outputs.version }}
|
||||||
|
|||||||
@@ -41,11 +41,9 @@ RUN git init && \
|
|||||||
|
|
||||||
FROM --platform=${BUILDPLATFORM} base AS build
|
FROM --platform=${BUILDPLATFORM} base AS build
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG ALLTARGETPLATFORMS=${TARGETPLATFORM}
|
|
||||||
ARG VERSION=unknown
|
ARG VERSION=unknown
|
||||||
ARG CREATED="an unknown date"
|
ARG CREATED="an unknown date"
|
||||||
ARG COMMIT=unknown
|
ARG COMMIT=unknown
|
||||||
RUN xcputranslate sleep -targetplatform ${TARGETPLATFORM} -buildtime=10s -order=${ALLTARGETPLATFORMS}
|
|
||||||
RUN GOARCH="$(xcputranslate translate -field arch -targetplatform ${TARGETPLATFORM})" \
|
RUN GOARCH="$(xcputranslate translate -field arch -targetplatform ${TARGETPLATFORM})" \
|
||||||
GOARM="$(xcputranslate translate -field arm -targetplatform ${TARGETPLATFORM})" \
|
GOARM="$(xcputranslate translate -field arm -targetplatform ${TARGETPLATFORM})" \
|
||||||
go build -trimpath -ldflags="-s -w \
|
go build -trimpath -ldflags="-s -w \
|
||||||
|
|||||||
Reference in New Issue
Block a user