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:
@@ -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