Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-lambda-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
# Build the Docker image from the 'scripts' directory.
# This assumes your Dockerfile is located in 'scripts/Dockerfile'.
docker buildx build --platform linux/amd64 --provenance=false -f ./scripts/Dockerfile.script -e AWS_S3_BUCKET_NAME=${AWS_S3_BUCKET_NAME} -t $ECR_REGISTRY/$ECR_REPOSITORY:latest ./scripts
docker buildx build --platform linux/amd64 --provenance=false -f ./scripts/Dockerfile.script --build-arg AWS_S3_BUCKET_NAME=${AWS_S3_BUCKET_NAME} -t $ECR_REGISTRY/$ECR_REPOSITORY:latest ./scripts

# Push the built image to ECR
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/Dockerfile.script
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN npm run build
FROM node:22 AS runtime
WORKDIR /app

ARG S3_BUCKET_NAME
ARG AWS_S3_BUCKET_NAME

COPY --from=build /app/dist ./dist
COPY package*.json ./
Expand Down