Update cache configuration in docker-publish workflow to use latest tag and inline caching
Publish telemt-bot Docker image / build-and-push (push) Successful in 48s
Publish telemt-bot Docker image / build-and-push (push) Successful in 48s
This commit is contained in:
1 parent
4b54cc4544
commit
eb07c8c78f
1 file changed
+2
-3
@@ -70,9 +70,8 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
cache-from: |
|
||||
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:buildcache
|
||||
cache-to: |
|
||||
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:buildcache,mode=max
|
||||
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_REPO }}:latest
|
||||
cache-to: type=inline
|
||||
tags: ${{ steps.prep.outputs.tags }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=telemt-bot
|
||||
|
||||
Reference in new issue
Block a user