Skip to content

Commit

Permalink
Use env var for image
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Jan 3, 2024
1 parent fe67ea0 commit 5e2b38e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
IMAGE: ${{needs.push.outputs.imageFullName}}
with:
args: set image deployment/profile-staging svc=${{needs.push.outputs.imageFullName}}
args: set image deployment/profile-staging svc=$IMAGE

deploy:
name: Deploy
Expand All @@ -55,5 +56,6 @@ jobs:
- uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
IMAGE: ${{needs.push.outputs.imageFullName}}
with:
args: set image deployment/profile svc=${{needs.push.outputs.imageFullName}}
args: set image deployment/profile svc=$IMAGE

0 comments on commit 5e2b38e

Please sign in to comment.