From 64411373b88fd67b4268afa779d182a8f06b3e6a Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Thu, 5 Oct 2023 10:13:00 +0800 Subject: [PATCH] Fix: darwin arm64 buildx error --- .github/workflows/release_docker.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index dee59ab..bd01c1a 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -39,4 +39,4 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - platforms: linux/amd64,linux/arm64,darwin/amd64,darwin/arm64,windows/amd64 \ No newline at end of file + platforms: linux/amd64,linux/arm64,darwin/amd64,windows/amd64 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 40f9c0b..c00399f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -From alpine:3 as builder +From alpine:latest as builder ARG VERSION=v0.0.0 @@ -10,7 +10,7 @@ RUN apk add --no-cache bash curl gcc git go musl-dev RUN bash build.sh -P -v ${VERSION} -b build -From alpine:3 +From alpine:latest WORKDIR /opt/synctv