Skip to content

Commit

Permalink
fix(ci): fix repository name (Recorder-moe/LivestreamRecorderService)…
Browse files Browse the repository at this point in the history
… must be lowercase

Error: buildx failed with: ERROR: failed to solve: failed to configure registry cache exporter: invalid reference format: repository name (Recorder-moe/LivestreamRecorderService) must be lowercase
Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed May 21, 2024
1 parent e6ab641 commit 6c0d414
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:cache,mode=max
cache-from: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache
cache-to: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache,mode=max
sbom: true
provenance: true

Expand All @@ -108,7 +108,7 @@ jobs:
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:cache,mode=max
cache-from: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache
cache-to: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache,mode=max
sbom: true
provenance: true
8 changes: 4 additions & 4 deletions .github/workflows/docker_publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:cache,mode=max
cache-from: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache
cache-to: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache,mode=max
sbom: true
provenance: true

Expand All @@ -106,7 +106,7 @@ jobs:
RELEASE=${{ github.run_number }}
platforms: linux/amd64,linux/arm64
# Cache to regietry instead of gha to avoid the capacity limit.
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:cache,mode=max
cache-from: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache
cache-to: type=registry,ref=ghcr.io/recorder-moe/livestreamrecorderservice:cache,mode=max
sbom: true
provenance: true

0 comments on commit 6c0d414

Please sign in to comment.