diff --git a/.github/actions/deploy_to_kubernetes/action.yml b/.github/actions/deploy_to_kubernetes/action.yml index a3f3584a..c7f90434 100644 --- a/.github/actions/deploy_to_kubernetes/action.yml +++ b/.github/actions/deploy_to_kubernetes/action.yml @@ -17,6 +17,9 @@ inputs: SERVICEACCOUNT_TOKEN: description: Kubernetes service account token required: true + DOCKERHUB_ORGANISATION: + description: Dockerhub organisation + required: true runs: using: composite steps: @@ -25,8 +28,9 @@ runs: echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV" echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV" echo "SERVICEACCOUNT_TOKEN=${{ inputs.SERVICEACCOUNT_TOKEN }}" >> "$GITHUB_ENV" + echo "DOCKERHUB_ORGANISATION=${{ inputs.DOCKERHUB_ORGANISATION }}" >> "$GITHUB_ENV" echo "CA_CRT=${{ inputs.CA_CRT }}" >> "$GITHUB_ENV" - echo "APP_NAME=deriv-api-docs" >> "$GITHUB_ENV" + echo "APP_NAME=deriv-com-api" >> "$GITHUB_ENV" shell: bash - name: Deploying to k8s cluster for service ${{ inputs.K8S_NAMESPACE }} 🚀 run: | diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index acd8726d..b8c7e23b 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -49,6 +49,7 @@ jobs: CA_CRT: ${{ secrets.CA_CRT }} SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} KUBE_SERVER: ${{ secrets.KUBE_SERVER }} + DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }} send_slack_notification: name: Send Slack Notification diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index aff7885c..10f2bcf8 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -42,3 +42,4 @@ jobs: CA_CRT: ${{ secrets.CA_CRT }} SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} KUBE_SERVER: ${{ secrets.KUBE_SERVER }} + DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }}