diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index 747bc19..b194018 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -34,16 +34,16 @@ jobs: with: push: true tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }}" - cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:${{ gitea.sha }} - cache-to: type=inline + cache-from: type=gha + cache-to: type=gha,mode=max - name: Build and push Docker image with "latest" tag uses: docker/build-push-action@v5 if: gitea.ref == 'refs/heads/main' with: push: true tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest" - cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest - cache-to: type=inline + cache-from: type=gha + cache-to: type=gha,mode=max test: runs-on: libretunes-cicd