Skip to content

Commit

Permalink
Fix docker build path for s3
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkjin99 committed Aug 24, 2023
1 parent 3ed86c6 commit dbb1964
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/upload-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
working-directory: ./s3

steps:
- name: Checkout Repository
Expand All @@ -30,6 +32,7 @@ jobs:
run: |
docker build --build-arg AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} --build-arg AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} --build-arg AWS_REGION_NAME_NAME=${{ secrets.AWS_REGION_NAME }} -t ssudobi-s3:latest .
docker tag ssudobi-s3:latest ${{secrets.AWS_ACCOUNTID}}.dkr.ecr.${{secrets.AWS_REGION_NAME}}.amazonaws.com/lambda_ssudobi_s3:latest
working-directory: ${{env.working-directory}}

- name: Push Docker Image to ECR
run: |
Expand Down

0 comments on commit dbb1964

Please sign in to comment.