Skip to content

Commit ed17959

Browse files
committed
Fix main branch build
1 parent 0080078 commit ed17959

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.appcd.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: 0.0.1
22
name: DogeApi
3+
appstack_name: DogeApi
34
services:
45
dogeapi:
56
dtr: ghcr.io/appcd-demo/dogeapi/dogeapi

.github/workflows/docker-publish.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,20 @@ jobs:
101101
cloud: 'aws'
102102
language: 'Python'
103103
outputDir: './.appcd/charts'
104-
scanPath: './main_branch'
104+
scanPath: './'
105105
targetCompute: 'k8s'
106+
- name: Upload IAC artifacts
107+
uses: actions/upload-artifact@v4
108+
with:
109+
name: iac_artifact
110+
path: ./.appcd/charts
106111
- name: Inflate helm chart in gitops/
107112
run: |
108-
tree
113+
tree ./.appcd
109114
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
110-
helm template demo-chart ./.appcd/charts/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml --set image.tag=${{ steps.version.outputs.image_tag }} > ./gitops/prod/dogeapi.yaml
115+
helm template demo-chart ./.appcd/charts/helm/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml --set image.tag=${{ steps.version.outputs.image_tag }} > ./gitops/prod/dogeapi.yaml
111116
else
112-
helm template demo-chart ./.appcd/charts/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml > ./gitops/dev/dogeapi.yaml
117+
helm template demo-chart ./.appcd/charts/helm/dogeapi -f ./.appcd/overrides/dogeapi/values.yaml > ./gitops/dev/dogeapi.yaml
113118
fi
114119
115120
# in real apps the gitops config and spec would in be a separate repo

0 commit comments

Comments
 (0)