Skip to content

Commit 8e52e9e

Browse files
fix artifacts upload
1 parent 75f410a commit 8e52e9e

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
name: Save builds
7373
uses: actions/upload-artifact@v4
7474
with:
75-
name: docker
76-
path: build/*
75+
name: docker_builds
76+
path: docker-compose/build/*
7777
compression-level: 9
7878
if-no-files-found: error

.github/workflows/k8s.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,38 @@ jobs:
2929
- name: mkdir
3030
run: mkdir ./build
3131
- name: Debug version
32-
run: kubectl version --client=true --output=json | tee ./build/kubectl_version.json
32+
run: kubectl version --client=true --output=json
3333
- id: bake-local
3434
name: Bake manifest of local
3535
#uses: azure/k8s-bake@v3
3636
run: kubectl kustomize ./k8s/live/local/ -o build/k8s-local.yml
37+
- id: upload-artifact-local
38+
name: Save build local
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: k8s-local.yml
42+
path: build/k8s-local.yml
43+
compression-level: 0
44+
if-no-files-found: error
3745
- id: bake-azure-dev
3846
name: Bake manifest of azure-dev
3947
run: kubectl kustomize ./k8s/live/azure-dev/ -o build/k8s-azure-dev.yml
48+
- id: upload-artifacts
49+
name: Save build azure-dev
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: azure-dev.yml
53+
path: build/k8s-azure-dev.yml
54+
compression-level: 0
55+
if-no-files-found: error
4056
- id: bake-azure-integ
4157
name: Bake manifest of azure-integ
4258
run: kubectl kustomize ./k8s/live/azure-integ/ -o build/k8s-azure-integ.yml
4359
- id: upload-artifacts
44-
name: Save builds
60+
name: Save build integ
4561
uses: actions/upload-artifact@v4
4662
with:
47-
name: kustomize
48-
path: |
49-
build/kubectl_version.json
50-
build/k8s-*.yml
51-
compression-level: 9
63+
name: azure-integ.yml
64+
path: build/k8s-azure-integ.yml
65+
compression-level: 0
5266
if-no-files-found: error

0 commit comments

Comments
 (0)