fix: ghcr arch unknown

This commit is contained in:
Zhiqiang Li
2023-04-07 11:31:20 +08:00
parent 5dda3b53ec
commit a730f8d4c8
2 changed files with 4 additions and 3 deletions

View File

@@ -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:

View File

@@ -1,3 +1,3 @@
# Contributing to azure-openai-proxy
TODO
Git commit conventions: https://www.conventionalcommits.org/en/v1.0.0/