mirror of https://github.com/Nofated095/Q2TG.git
fix: https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#cache-backend-api
This commit is contained in:
parent
109346f77f
commit
4a55797bad
|
@ -45,9 +45,6 @@ jobs:
|
|||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull old container
|
||||
run: docker pull ghcr.io/clansty/q2tg:raincandy
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
|
@ -55,3 +52,5 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
Loading…
Reference in New Issue