Skip to content

fix(CORS): The latest merge with the API hotfix resolves the HUBZone … #27

fix(CORS): The latest merge with the API hotfix resolves the HUBZone …

fix(CORS): The latest merge with the API hotfix resolves the HUBZone … #27

Workflow file for this run

name: 'Development'
on:
push:
branches-ignore:
- '**'
tags:
- 'deploy-demo'
- 'build-lower'
defaults:
run:
shell: 'bash'
permissions:
contents: read
id-token: write
env:
AWS_REGION: 'us-east-1'
AWS_DEFAULT_REGION: 'us-east-1'
AWS_ECR_REGISTRY_ID: '222484291001'
WORKSPACE: 'demo'
jobs:
hubzone_api:
runs-on: 'ubuntu-latest'
environment: 'demo'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
- name: 'Connecting to AWS using OIDC'
uses: 'aws-actions/configure-aws-credentials@v4'
with:
role-to-assume: ${{ secrets.OIDC_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}
- name: 'Connecting to ECR'
uses: 'aws-actions/amazon-ecr-login@v2'
id: 'ecr-login'
with:
registries: ${{ env.AWS_ECR_REGISTRY_ID }}
- name: 'Building Container'
uses: './.github/actions/ecr'
with:
image: '${{ steps.ecr-login.outputs.registry }}/hubzone-api'
- name: 'Install Terraform 1.6.1'
uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.6.1'
- name: 'Deploying Service'
uses: './.github/actions/terraform'
with:
workspace: ${{ env.WORKSPACE }}