Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensrtw authored Nov 15, 2024
1 parent e451e2b commit 325e65e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Docker Maven Build and Push Docker Image to MDACA ECR

on:
schedule:
- cron: '0 23 * * 0'
push:
branches:
- mdaca-3.0.1
Expand All @@ -18,7 +20,7 @@ jobs:

- name: Build and Push Docker Image
env:
IMAGE_TAG: 3.0.1
IMAGE_TAG: 3.0.1.1
ECR_REPOSITORY: mdaca/ohdsi/webapi
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down Expand Up @@ -77,7 +79,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
IMAGE_TAG: 3.0.1
IMAGE_TAG: 3.0.1.1
ECR_REPOSITORY: mdaca/ohdsi/webapi
run: |
# Set ENV for AW Cred
Expand All @@ -99,7 +101,7 @@ jobs:
env:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_REGION: ${{ secrets.AWS_REGION }}
IMAGE_TAG: 3.0.1
IMAGE_TAG: 3.0.1.1
ECR_REPOSITORY: mdaca/ohdsi/webapi

run: |
Expand All @@ -114,7 +116,7 @@ jobs:
env:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_REGION: ${{ secrets.AWS_REGION }}
IMAGE_TAG: 3.0.1
IMAGE_TAG: 3.0.1.1
ECR_REPOSITORY: mdaca/ohdsi/webapi
run: |
syft $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$ECR_REPOSITORY:$IMAGE_TAG
Expand Down

0 comments on commit 325e65e

Please sign in to comment.