mirror of https://github.com/0xERR0R/blocky.git
test4
This commit is contained in:
parent
dcc7446e39
commit
e2ecdd1c29
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue