Skip to content

Commit

Permalink
Update release-production.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
feriahmad authored Mar 5, 2024
1 parent 8cecf1c commit 8fdb503
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
name: ⚙️ 🚀 Setup, Build, Publish, and Deploy
name: ⚙️ 🚀 🏋🏼 Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -50,6 +50,11 @@ jobs:
with:
cmd: yq -i '.spec.template.spec.containers[0].image = "${{ secrets.SERVICE_IMAGENAME }}:${{ env.sha_short }}"' 'jds-terraform-gke/k8s/digiteam-shortlink/deployment.yaml'

- name: GitOps ArgoCD Update Image Tag Shortlink Cronjob Production
uses: mikefarah/yq@master
with:
cmd: yq -i '.spec.template.spec.containers[0].image = "${{ secrets.SERVICE_IMAGENAME }}:${{ env.sha_short }}"' 'jds-terraform-gke/k8s/digiteam-shortlink/cronjob.yaml'

- name: GitOps ArgoCD Create Branch, Commit, Push
run: |
export GIT_SSH_COMMAND="ssh -i /tmp/gitlab-deploy-ssh-key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
Expand Down

0 comments on commit 8fdb503

Please sign in to comment.