mirror of https://github.com/Nofated095/Q2TG.git
perf: 构建时拉取老镜像以获取缓存
This commit is contained in:
parent
b9af098233
commit
4a3c46393c
|
@ -45,6 +45,9 @@ jobs:
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Pull old container
|
||||||
|
run: docker pull ghcr.io/${{ github.repository }}:raincandy
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue