This commit is contained in:
Kwitsch 2022-09-16 10:27:31 +02:00
parent dcc7446e39
commit e2ecdd1c29
2 changed files with 2 additions and 3 deletions

View File

@ -111,12 +111,12 @@ jobs:
echo "VERSION: ${VERSION}"
echo "BUILD_TIME: ${BUILD_TIME}"
#test removed ,linux/arm/v6,linux/arm/v7
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:${{ steps.extract_branch.outputs.branch }}
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache

View File

@ -25,7 +25,6 @@ RUN if [[ "$TARGETARCH" != "arm" ]]; then export GOARM=$TARGETVARIANT; fi
RUN --mount=target=. \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 \
GOOS=$TARGETOS \
GOARCH=$TARGETARCH \
go build \