ci: fix hub_docker_ci.yml issue - comment out the cache-from:/cache-to: lines again

This commit is contained in:
Delyan Angelov 2025-04-30 09:08:09 +03:00
parent 59b162c29f
commit 9364ac66a0
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1,5 +1,8 @@
name: hub_docker_ci name: hub_docker_ci
### NB: avoid caching things here, since the action is rare (once per week),
### and the potential benefits are less than the complexity of debugging
### cache invalidation issues...
## Trigger on both new release tags, and on weekly tags. ## Trigger on both new release tags, and on weekly tags.
## Allow for manual override too: ## Allow for manual override too:
on: on:
@ -60,8 +63,8 @@ jobs:
file: docker/vlang/Dockerfile.${{ matrix.os }} file: docker/vlang/Dockerfile.${{ matrix.os }}
push: true push: true
build-args: 'USER=thevlang' build-args: 'USER=thevlang'
cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache ## cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache
cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache,mode=max ## cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache,mode=max
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v6
name: Build and deploy developer build name: Build and deploy developer build
@ -73,5 +76,5 @@ jobs:
file: docker/vlang/Dockerfile.${{ matrix.os }}.dev-full file: docker/vlang/Dockerfile.${{ matrix.os }}.dev-full
push: true push: true
build-args: 'USER=thevlang' build-args: 'USER=thevlang'
cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache ## cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache
cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache,mode=max ## cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache,mode=max