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 \