Skip to content

Commit 9f9dfae

Browse files
authored
Update deploy.yml
1 parent 2ad34d2 commit 9f9dfae

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
env:
1717
AWS_REGION: ${{ vars.AWS_REGION }}
18-
AWS_ACCOUNT_ID: ${{ vars.AWS_ACCOUNT_ID }}
18+
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
1919
LAMBDA_FUNCTION_NAME: ${{ vars.LAMBDA_FUNCTION_NAME }}
2020
IMAGE_NAME: kickon-lambda-bot
2121

@@ -41,6 +41,8 @@ jobs:
4141
run: |
4242
IMAGE_URI=${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${IMAGE_NAME}:latest
4343
44+
echo "🛠️ Building and pushing image: $IMAGE_URI"
45+
4446
docker buildx build \
4547
--platform linux/arm64 \
4648
--provenance=false \
@@ -53,4 +55,4 @@ jobs:
5355
5456
aws lambda update-function-code \
5557
--function-name $LAMBDA_FUNCTION_NAME \
56-
--image-uri $IMAGE_URI .
58+
--image-uri $IMAGE_URI

0 commit comments

Comments
 (0)