mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
ci: optimize CI/CD pipeline with Docker build cache
- Add Docker build cache configuration to GitHub Actions workflow Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
dc026ac547
commit
be0b134f0a
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -70,3 +70,5 @@ jobs:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.docker-meta.outputs.tags }}
|
||||
labels: ${{ steps.docker-meta.outputs.labels }}
|
||||
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
|
||||
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max
|
||||
|
Loading…
Reference in New Issue
Block a user