mirror of https://github.com/0xERR0R/blocky.git
test
This commit is contained in:
parent
357c56f94c
commit
763fc48e7d
|
@ -111,12 +111,12 @@ jobs:
|
|||
|
||||
echo "VERSION: ${VERSION}"
|
||||
echo "BUILD_TIME: ${BUILD_TIME}"
|
||||
#test removed ,linux/arm/v6,linux/arm/v7
|
||||
#test removed ,linux/arm/v6,linux/arm/v7,linux/arm64
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository }}:${{ steps.extract_branch.outputs.branch }}
|
||||
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
|
||||
|
|
|
@ -25,9 +25,10 @@ RUN --mount=type=cache,target=/go/pkg \
|
|||
RUN --mount=target=. \
|
||||
--mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
||||
--mount=type=cache,target=/go/pkg \
|
||||
env \
|
||||
GOOS=$TARGETOS \
|
||||
GOARCH=$TARGETARCH \
|
||||
CGO_ENABLED=1 \
|
||||
GOARM=$TARGETVARIANT \
|
||||
go build \
|
||||
-tags static \
|
||||
-v \
|
||||
|
|
Loading…
Reference in New Issue