Skip to content

Commit

Permalink
chore: removing vc-api deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
artursudnik committed Oct 9, 2023
1 parent e7ffccd commit 1db2ddc
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,42 +66,6 @@ jobs:
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}

- name: Configure AWS credentials SSI
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ steps.env_vars.outputs.aws_access_key_id_ssi }}
aws-secret-access-key: ${{ steps.env_vars.outputs.aws_secret_key_ssi }}
aws-region: ${{ steps.env_vars.outputs.aws_region }}

- name: Login to Amazon ECR
id: login-ecr-ssi
uses: aws-actions/amazon-ecr-login@v1

- name: Build & push docker SSI images
env:
BUILD_ID: ${{ steps.tag_version.outputs.new_tag }}
ECR_REGISTRY: ${{ steps.login-ecr-ssi.outputs.registry }}
run: |
docker build -t $ECR_REGISTRY/${{ steps.env_vars.outputs.aws_ecr_repository_ssi }}:$BUILD_ID -f apps/vc-api/Dockerfile .
docker push $ECR_REGISTRY/${{ steps.env_vars.outputs.aws_ecr_repository_ssi }}:$BUILD_ID
- name: Logout of Amazon ECR
if: always()
run: docker logout ${{ steps.login-ecr-ssi.outputs.registry }}

- name: Deploy SSI
uses: clowdhaus/argo-cd-action/@v1.9.0
id: argocd_login_ssi
with:
command: login ${{ steps.env_vars.outputs.argocd_url }}
options: --insecure --password ${{ steps.env_vars.outputs.argocd_password }} --username ${{ steps.env_vars.outputs.argocd_username }}

- name: ArgoCD overvrite SSI values.yaml
uses: clowdhaus/argo-cd-action/@v1.9.0
id: argocd_image_tag_overwrite_ssi
with:
command: app set ssi-wallet
options: -p image.tag=${{ steps.tag_version.outputs.new_tag }}

- name: Configure AWS credentials IDC
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down

0 comments on commit 1db2ddc

Please sign in to comment.