Skip to content

Commit

Permalink
Merge pull request #31 from desci-labs/m0ar/fix-resolver-workflow
Browse files Browse the repository at this point in the history
fix workflow not applying kubernetes declarations
  • Loading branch information
m0ar authored Sep 17, 2024
2 parents 1931b7c + 6c1f4d1 commit 7fd318c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-dpid-resolver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,13 @@ jobs:
# uses: steebchen/kubectl@v2.0.0
if: github.ref == 'refs/heads/develop'
run: | # defaults to latest kubectl binary version
kubectl apply -f kubernetes/deployment.dev.yaml
kubectl set image deployment/dpid-resolver-dev dpid-resolver-dev=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE-dev:${{ github.sha }} --record
- name: Deploy to EKS (PROD)
if: github.ref == 'refs/heads/main'
run: | # defaults to latest kubectl binary version
kubectl apply -f kubernetes/deployment.prod.yaml
kubectl set image deployment/dpid-resolver dpid-resolver=$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$CONTAINER_IMAGE:${{ github.sha }} --record
- name: Verify EKS Deployment (DEV)
Expand Down

0 comments on commit 7fd318c

Please sign in to comment.