Skip to content

Commit

Permalink
squash! cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
TianTianBigWang committed Apr 15, 2022
1 parent 541e6d8 commit fbde87a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,6 @@ jobs:
${{ env.DockerRepo }}:${{ steps.prepare.outputs.full_tag_name }}
${{ env.DockerRepo }}:${{ steps.prepare.outputs.latest_tag }}
- name: Build darwin image
uses: docker/build-push-action@v2
with:
context: .
push: false
builder: ${{ steps.buildx.outputs.name }}
file: ${{ env.Dockerfile-darwin }}
platforms: linux/arm64
cache-from: type=gha,scope=${{ github.workflow }}
# cache-to: type=gha,mode=max,scope=${{ github.workflow }}
tags: |
${{ env.DockerRepo }}:${{ steps.prepare.outputs.full_tag_name }}-darwin
${{ env.DockerRepo }}:${{ steps.prepare.outputs.latest_tag }}-darwin
darwin-release:
runs-on: macos-latest
steps:
Expand All @@ -165,7 +151,6 @@ jobs:
- name: Build
run: |
docker buildx build -f ${{ env.Dockerfile-darwin }} \
--builder ${{ steps.buildx.outputs.name }} \
--platform linux/arm64 \
--cache-from type=gha,scope=${{ github.workflow }} \
-t ${{ env.DockerRepo }}:${{ steps.prepare.outputs.full_tag_name }}-darwin \
Expand Down

0 comments on commit fbde87a

Please sign in to comment.