Skip to content

Commit

Permalink
Update gitops_update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
francav committed May 7, 2024
1 parent 0290f45 commit 3f7d8d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_disabled_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
run: |
cd wks-gitops/apps
cd opa/local
cd policy-decision-api/local
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa:${{ env.BUILD_VERSION }}
cd ../../
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/storage-api=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/storage-api:${{ env.BUILD_VERSION }}
cd ../../
cd opa/staging
cd policy-decision-api/staging
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa:${{ env.BUILD_VERSION }}
cd ../../
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gitops_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
with:
repository: wkspower/wks-gitops
path: wks-gitops
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GH_PAT }}

- name: Extract tag name
id: extract_tag
Expand All @@ -109,7 +109,7 @@ jobs:
run: |
cd wks-gitops/apps
cd opa/local
cd policy-decision-api/local
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa:${{ steps.extract_tag.outputs.tag }}
cd ../../
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/storage-api=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/storage-api:${{ steps.extract_tag.outputs.tag }}
cd ../../
cd opa/staging
cd policy-decision-api/staging
kustomize edit set image ${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa=${{ env.REGISTRY }}/${{ env.REPOSITORY_OWNER }}/opa:${{ steps.extract_tag.outputs.tag }}
cd ../../
Expand All @@ -163,4 +163,4 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Release docker tag"
git push
git push

0 comments on commit 3f7d8d2

Please sign in to comment.