diff --git a/.github/workflows/meteorology-eurac-tr.yml b/.github/workflows/meteorology-eurac-tr.yml index d9d08ac..132c35b 100644 --- a/.github/workflows/meteorology-eurac-tr.yml +++ b/.github/workflows/meteorology-eurac-tr.yml @@ -14,13 +14,14 @@ env: JAVA_VERSION: 17 WORKING_DIRECTORY: transformers/meteorology-eurac DOCKER_IMAGE: ghcr.io/noi-techpark/odh-v2-playground/meteorology-eurac-tr - DOCKER_TAG: 0.2.0 + DOCKER_TAG: ${{ github.sha }} + KUBERNETES_NAMESPACE: collector jobs: deploy-test: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/meteorology-eurac' + if: github.ref == 'refs/heads/main' concurrency: deploy-test-meteorology-eurac-tr steps: - name: Checkout source code @@ -61,4 +62,9 @@ jobs: run: | RELEASETIME=`date +%s` cd transformers/meteorology-eurac - helm upgrade --install tr-meteorology-eurac ../../helm/generic-collector --values infrastructure/helm/values.yaml --set-string podAnnotations.releaseTime=$RELEASETIME \ No newline at end of file + helm upgrade --install tr-meteorology-eurac ../../helm/generic-collector \ + --values infrastructure/helm/values.yaml \ + --set-string image.repository=$DOCKER_IMAGE \ + --set-string image.tag=$DOCKER_TAG \ + --set-string image.pullPolicy=IfNotPresent \ + --namespace $KUBERNETES_NAMESPACE \ No newline at end of file