From 02f6b1fc1ce8b5907019a3b6fbc4011fe29f640b Mon Sep 17 00:00:00 2001 From: Gerald Iakobinyi-Pich Date: Wed, 24 Jul 2024 11:17:38 +0300 Subject: [PATCH] fix:switch to using the actions from gh-workflow main branch --- .github/workflows/build_and_deploy_generic.yml | 12 ++++++------ .github/workflows/deploy_generic.yml | 14 ++++---------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build_and_deploy_generic.yml b/.github/workflows/build_and_deploy_generic.yml index fd014e9..0466c5a 100644 --- a/.github/workflows/build_and_deploy_generic.yml +++ b/.github/workflows/build_and_deploy_generic.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - id: ref - uses: passportxyz/gh-workflows/.github/actions/load_commit_ref@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/load_commit_ref@main with: commit: ${{ inputs.commit }} @@ -42,7 +42,7 @@ jobs: AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY - id: build_and_push_docker_image - uses: passportxyz/gh-workflows/.github/actions/build_and_push@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/build_and_push@main with: refspec: ${{ needs.ref.outputs.refspec }} docker_tag: ${{ needs.ref.outputs.docker_tag }} @@ -79,9 +79,9 @@ jobs: AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/PULUMI_ACCESS_TOKEN - name: Prepare to Deploy to AWS - uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main - name: Deploy Preview - uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main with: docker_tag: ${{ needs.ref.outputs.docker_tag }} stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }} @@ -129,9 +129,9 @@ jobs: AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/AWS_SECRET_ACCESS_KEY PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/ci/PULUMI_ACCESS_TOKEN - name: Prepare to Deploy to AWS - uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main - name: Deploy Review - uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main with: docker_tag: ${{ needs.ref.outputs.docker_tag }} stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }} diff --git a/.github/workflows/deploy_generic.yml b/.github/workflows/deploy_generic.yml index 1c93653..2381ebe 100644 --- a/.github/workflows/deploy_generic.yml +++ b/.github/workflows/deploy_generic.yml @@ -51,13 +51,10 @@ jobs: AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_SECRET_ACCESS_KEY PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/PULUMI_ACCESS_TOKEN - ROUTE_53_DOMAIN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/ROUTE_53_DOMAIN - SCROLL_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/SCROLL_SECRETS_ARN - VC_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/VC_SECRETS_ARN - name: Prepare to Deploy to AWS - uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main - name: Deploy Review - uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main with: docker_tag: ${{ needs.ref.outputs.docker_tag }} stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }} @@ -104,13 +101,10 @@ jobs: AWS_ACCESS_KEY_ID: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/AWS_SECRET_ACCESS_KEY PULUMI_ACCESS_TOKEN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-secrets/service/PULUMI_ACCESS_TOKEN - ROUTE_53_DOMAIN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/ROUTE_53_DOMAIN - SCROLL_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/SCROLL_SECRETS_ARN - VC_SECRETS_ARN: op://DevOps/passport-scroll-badge-service-${{ inputs.environment }}-env/service/VC_SECRETS_ARN - name: Prepare to Deploy to AWS - uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/prepare_deploy_to_aws@main - name: Deploy Review - uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@fix_build_dir + uses: passportxyz/gh-workflows/.github/actions/deploy_to_aws@main with: docker_tag: ${{ needs.ref.outputs.docker_tag }} stack_name: gitcoin/scroll-badge-service/${{ inputs.environment }}