mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
see if login works
This commit is contained in:
parent
549d7265cb
commit
73318c493b
1 changed files with 7 additions and 4 deletions
11
.github/workflows/push_docker_image_to_ecr.yml
vendored
11
.github/workflows/push_docker_image_to_ecr.yml
vendored
|
|
@ -9,7 +9,7 @@ env:
|
|||
ECR_REPOSITORY: survey_extractor
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
build-and-push-to-elastic-container-registry:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
|
|
@ -20,13 +20,16 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure AWS credentials
|
||||
- name: AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::<account-id>:role/<your-github-oidc-role>
|
||||
aws-region: ${{ env.AWS_REGION }}
|
||||
# as of 14/07/2025 it'll be using user:Junte's keys
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
|
||||
- name: Log in to Amazon ECR
|
||||
id: login-ecr
|
||||
uses: aws-actions/amazon-ecr-login@v2
|
||||
|
||||
- name: Build, tag, and push Docker image to ECR
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue