Skip to content

Commit

Permalink
Update docker-image-amd64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdlzg authored Apr 29, 2024
1 parent 077d221 commit 664f3c5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker-image-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
mxdlzg/one-api
ghcr.io/${{ github.repository }}
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Cache Node.js modules
uses: actions/cache@v2
with:
Expand All @@ -77,4 +85,6 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

0 comments on commit 664f3c5

Please sign in to comment.