diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3856e70c1..4c235e3a7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -173,4 +173,4 @@ jobs: cache-from: type=registry,ref=${{ matrix.repository }}:latest push: ${{ startsWith(github.ref, 'refs/heads/main') }} tags: ${{ steps.docker-image-tag.outputs.tags }} - platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 + platforms: linux/amd64,linux/arm64 diff --git a/rules.mk b/rules.mk index ae0430ce9..0bdcffb74 100644 --- a/rules.mk +++ b/rules.mk @@ -28,14 +28,11 @@ worker : cmd/tink-worker/tink-worker virtual-worker : cmd/virtual-worker/virtual-worker crossbinaries := $(addsuffix -linux-,$(binaries)) -crossbinaries := $(crossbinaries:=386) $(crossbinaries:=amd64) $(crossbinaries:=arm64) $(crossbinaries:=armv6) $(crossbinaries:=armv7) +crossbinaries := $(crossbinaries:=amd64) $(crossbinaries:=arm64) .PHONY: crosscompile $(crossbinaries) -%-386: FLAGS=GOOS=linux GOARCH=386 %-amd64: FLAGS=GOOS=linux GOARCH=amd64 %-arm64: FLAGS=GOOS=linux GOARCH=arm64 -%-armv6: FLAGS=GOOS=linux GOARCH=arm GOARM=6 -%-armv7: FLAGS=GOOS=linux GOARCH=arm GOARM=7 $(binaries) $(crossbinaries): $(FLAGS) go build $(LDFLAGS) -o $@ ./$(@D)