Skip to content

Commit 10f2cf0

Browse files
committed
ci/cd fixes
1 parent b601cd0 commit 10f2cf0

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

‎.github/workflows/deliver17.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ jobs:
3535
- name: Login to Amazon ECR Public
3636
uses: aws-actions/amazon-ecr-login@v1
3737
- name: Deploy artifacts
38-
run: mvn -B clean compile install deploy
38+
run: mvn -B -Daws.account="$AWS_ACCOUNT_ID" -Daws.region="$AWS_REGION" clean compile install deploy
39+
env:
40+
AWS_REGION: ${{ secrets.AWS_REGION }}
41+
AWS_ACCOUNT_ID: ${{ secrets.CD_AWS_ACCOUNT_ID }}
42+

‎.github/workflows/deliver18.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ jobs:
3535
- name: Login to Amazon ECR Public
3636
uses: aws-actions/amazon-ecr-login@v1
3737
- name: Deploy artifacts
38-
run: mvn -B clean compile install deploy
38+
run: mvn -B -Daws.account="$AWS_ACCOUNT_ID" -Daws.region="$AWS_REGION" clean compile install deploy
39+
env:
40+
AWS_REGION: ${{ secrets.AWS_REGION }}
41+
AWS_ACCOUNT_ID: ${{ secrets.CD_AWS_ACCOUNT_ID }}

‎.github/workflows/integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
restore-keys: |
2929
${{ runner.os }}-maven-
3030
- name: Build and test
31-
run: mvn -B clean compile install
31+
run: mvn -B -Daws.account=local -Daws.region=xx-xxxx-x clean compile install

0 commit comments

Comments
 (0)