perf: 构建时拉取老镜像以获取缓存

This commit is contained in:
Clansty 2022-03-04 19:44:11 +08:00
parent b9af098233
commit 4a3c46393c
No known key found for this signature in database
GPG Key ID: 05F8479BA63A8E92
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull old container
run: docker pull ghcr.io/${{ github.repository }}:raincandy
- name: Build and push
uses: docker/build-push-action@v2
with: