Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
harism2 authored Feb 7, 2023
1 parent fb993d6 commit 5c8b5a6
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,9 @@ jobs:
timeout-minutes: 20
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/remote-environment-1' }}
steps:
- uses: actions/checkout@v3
- uses: mondu-ai/cicd/auth-aws@v1
with:
aws_account_id: ${{ vars.STAGE_AWS_ACCOUNT_ID }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_profile_id: CICD
- uses: mondu-ai/cicd/build-image@v1
with:
aws_account_id: ${{ vars.STAGE_AWS_ACCOUNT_ID }}
repo: bnpl-plugins
dockerfile: Dockerfile.stage
- name: Checkout code
uses: actions/checkout@v2

- name: Build Docker Image
run: |
docker build -f Dockerfile.stage -t mondu/sw6 .

0 comments on commit 5c8b5a6

Please sign in to comment.