mirror of
https://github.com/vlang/v.git
synced 2025-09-14 18:06:48 -04:00
ci: debug hub_docker_ci.yml issue (try 1, disable cache, run linters)
This commit is contained in:
parent
af947f1af5
commit
30dc58f53f
15
.github/workflows/hub_docker_ci.yml
vendored
15
.github/workflows/hub_docker_ci.yml
vendored
@ -1,11 +1,12 @@
|
|||||||
name: hub_docker_ci
|
name: hub_docker_ci
|
||||||
|
|
||||||
|
# trigger on new release tag, and on weekly tag:
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9].[0-9]+.[0-9]+' # trigger on new release tag
|
- '[0-9].[0-9]+.[0-9]+'
|
||||||
- 'weekly.*' # trigger on weekly tag
|
- 'weekly.*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-new-docker-images:
|
publish-new-docker-images:
|
||||||
@ -48,8 +49,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
|
||||||
@ -58,7 +59,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: thevlang/vlang:${{ matrix.os }}-dev
|
tags: thevlang/vlang:${{ matrix.os }}-dev
|
||||||
file: docker/vlang/Dockerfile.${{ matrix.os }}.dev-full
|
file: docker/vlang/Dockerfile.${{ matrix.os }}.dev-full
|
||||||
build-args: 'USER=thevlang'
|
|
||||||
push: true
|
push: true
|
||||||
cache-from: type=registry,ref=thevlang/vlang:${{ matrix.os }}-dev-buildcache
|
build-args: 'USER=thevlang'
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user