diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index d5605ef..ea5f4de 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,11 +1,8 @@ name: Docker Image CI on: - push: - tags: - - 'v*.*.*' - branches: - - "main" + release: + type: [created] jobs: docker: @@ -24,13 +21,8 @@ jobs: with: images: aerox86/stock-x tags: | - type=schedule type=ref,event=branch - type=ref,event=pr type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=sha - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 diff --git a/.gitmodules b/.gitmodules index 935b456..3004f0d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "Stock-X-backend"] path = Stock-X-backend url = https://github.com/Circle-1/Stock-X-backend.git +[submodule "helm-charts"] + path = helm-charts + url = https://github.com/Circle-1/helm-charts diff --git a/helm-charts b/helm-charts new file mode 160000 index 0000000..18e4bf4 --- /dev/null +++ b/helm-charts @@ -0,0 +1 @@ +Subproject commit 18e4bf48d677ff3e77999a49c8885751febbe85f diff --git a/k8s/helm/stock/Chart.yaml b/k8s/helm/stock/Chart.yaml index 76b959f..7fd7b61 100644 --- a/k8s/helm/stock/Chart.yaml +++ b/k8s/helm/stock/Chart.yaml @@ -24,7 +24,7 @@ home: https://github.com/Circle-1/Stock-X # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "latest-stable" +appVersion: "0.1.0" deprecated: false diff --git a/k8s/helm/stock/values.yaml b/k8s/helm/stock/values.yaml index 5f8d7d8..9cb0266 100644 --- a/k8s/helm/stock/values.yaml +++ b/k8s/helm/stock/values.yaml @@ -7,12 +7,9 @@ restartPolicy: Always image: name: aerox86/stock-x - tag: 'latest-stable' pullPolicy: Always imagePullSecrets: [] -nameOverride: "stock-x" -fullnameOverride: "stock-x" serviceAccount: # Specifies whether a service account should be created