mirror of
https://github.com/vlang/v.git
synced 2025-09-10 16:00:31 -04:00
ci: fix hub_docker_ci.yml issue - comment out the cache-from:/cache-to: lines again
This commit is contained in:
parent
59b162c29f
commit
9364ac66a0
11
.github/workflows/hub_docker_ci.yml
vendored
11
.github/workflows/hub_docker_ci.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user