fix: use registry cache instead of GitHub Actions cache for Gitea compatibility
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 5m4s
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 5m4s
This commit is contained in:
@@ -75,8 +75,8 @@ jobs:
|
|||||||
push: ${{ gitea.event_name != 'pull_request' }}
|
push: ${{ gitea.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
|
||||||
build-args: |
|
build-args: |
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
CI=true
|
CI=true
|
||||||
|
|||||||
Reference in New Issue
Block a user