Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmeds committed Feb 6, 2024
1 parent 4768752 commit f53058c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci-image-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
pull_request:
branches:
- 'master'
push:

jobs:
run-tests:
Expand All @@ -31,16 +32,16 @@ jobs:
with:
fetch-depth: 0
ref: ${{ inputs.commitOrTag }}
- name: Configure AWS Credentials
uses: Zilliqa/gh-actions-workflows/actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.ECR_DEPLOYER_ROLE }}
oidc-role: ${{ secrets.OIDC_ROLE }}
aws-region: ${{ secrets.AWS_REGION_ZILLIQA }}
- name: Login to the registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.AWS_ACCOUNT_ID_ZILLIQA }}.dkr.ecr.${{ secrets.AWS_REGION_ZILLIQA }}.amazonaws.com
# - name: Configure AWS Credentials
# uses: Zilliqa/gh-actions-workflows/actions/configure-aws-credentials@v1
# with:
# role-to-assume: ${{ secrets.ECR_DEPLOYER_ROLE }}
# oidc-role: ${{ secrets.OIDC_ROLE }}
# aws-region: ${{ secrets.AWS_REGION_ZILLIQA }}
# - name: Login to the registry
# uses: docker/login-action@v2
# with:
# registry: ${{ secrets.AWS_ACCOUNT_ID_ZILLIQA }}.dkr.ecr.${{ secrets.AWS_REGION_ZILLIQA }}.amazonaws.com
- name: Build Docker images
run: |
DOCKER_BUILDKIT=1 docker build -t scilla:tests --build-arg ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID_ZILLIQA }} -f docker/Dockerfile.test .
Expand Down

0 comments on commit f53058c

Please sign in to comment.