From 9364ac66a0f1569d2341ef2cbeb6e6ad6fb42953 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 30 Apr 2025 09:08:09 +0300 Subject: [PATCH] ci: fix hub_docker_ci.yml issue - comment out the cache-from:/cache-to: lines again --- .github/workflows/hub_docker_ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/hub_docker_ci.yml b/.github/workflows/hub_docker_ci.yml index 4c3f0aa722..19d6cf695e 100644 --- a/.github/workflows/hub_docker_ci.yml +++ b/.github/workflows/hub_docker_ci.yml @@ -1,5 +1,8 @@ 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. ## Allow for manual override too: on: @@ -60,8 +63,8 @@ jobs: file: docker/vlang/Dockerfile.${{ matrix.os }} push: true build-args: 'USER=thevlang' - cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache - cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache,mode=max + ## cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache + ## cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-buildcache,mode=max - uses: docker/build-push-action@v6 name: Build and deploy developer build @@ -73,5 +76,5 @@ jobs: file: docker/vlang/Dockerfile.${{ matrix.os }}.dev-full push: true build-args: 'USER=thevlang' - 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-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache + ## cache-to: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache,mode=max