Skip to content

Commit

Permalink
fix artifacts upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH committed Oct 2, 2024
1 parent 75f410a commit 8e52e9e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
name: Save builds
uses: actions/upload-artifact@v4
with:
name: docker
path: build/*
name: docker_builds
path: docker-compose/build/*
compression-level: 9
if-no-files-found: error
28 changes: 21 additions & 7 deletions .github/workflows/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,38 @@ jobs:
- name: mkdir
run: mkdir ./build
- name: Debug version
run: kubectl version --client=true --output=json | tee ./build/kubectl_version.json
run: kubectl version --client=true --output=json
- id: bake-local
name: Bake manifest of local
#uses: azure/k8s-bake@v3
run: kubectl kustomize ./k8s/live/local/ -o build/k8s-local.yml
- id: upload-artifact-local
name: Save build local
uses: actions/upload-artifact@v4
with:
name: k8s-local.yml
path: build/k8s-local.yml
compression-level: 0
if-no-files-found: error
- id: bake-azure-dev
name: Bake manifest of azure-dev
run: kubectl kustomize ./k8s/live/azure-dev/ -o build/k8s-azure-dev.yml
- id: upload-artifacts
name: Save build azure-dev
uses: actions/upload-artifact@v4
with:
name: azure-dev.yml
path: build/k8s-azure-dev.yml
compression-level: 0
if-no-files-found: error
- id: bake-azure-integ
name: Bake manifest of azure-integ
run: kubectl kustomize ./k8s/live/azure-integ/ -o build/k8s-azure-integ.yml
- id: upload-artifacts
name: Save builds
name: Save build integ
uses: actions/upload-artifact@v4
with:
name: kustomize
path: |
build/kubectl_version.json
build/k8s-*.yml
compression-level: 9
name: azure-integ.yml
path: build/k8s-azure-integ.yml
compression-level: 0
if-no-files-found: error

0 comments on commit 8e52e9e

Please sign in to comment.