From a730f8d4c8ba33b868ed24e23c392018630de1d7 Mon Sep 17 00:00:00 2001 From: Zhiqiang Li Date: Fri, 7 Apr 2023 11:31:20 +0800 Subject: [PATCH] fix: ghcr arch unknown --- .github/workflows/release.yml | 5 +++-- CONTRIBUTING.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d344af6..7cfb84a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,14 +47,15 @@ jobs: platforms: linux/amd64,linux/arm64 push: true pull: true + env: + BUILDX_NO_DEFAULT_ATTESTATIONS: 1 # https://github.com/orgs/community/discussions/45969 labels: | org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }} org.opencontainers.image.licenses=Apache-2.0 tags: | ${{ github.repository }}:${{ env.TAG_NAME }} ghcr.io/${{ github.repository }}:${{ env.TAG_NAME }} - # https://docs.docker.com/build/cache/backends/gha/ - cache-from: type=gha + cache-from: type=gha # https://docs.docker.com/build/cache/backends/gha/ cache-to: type=gha,mode=max goreleaser: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a907fe0..5ed3387 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,3 @@ # Contributing to azure-openai-proxy -TODO \ No newline at end of file +Git commit conventions: https://www.conventionalcommits.org/en/v1.0.0/ \ No newline at end of file