Skip to content

Commit

Permalink
buildx -> build, periods to slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed May 21, 2024
1 parent ba4ee4f commit 0ccae97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }}
IMAGE_TAG: latest
run: |
docker build --platform linux/amd64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile .
docker buildx build --platform linux/amd64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f docker/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Update Lambda function to use new Docker image
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN pip install --no-cache-dir .
# RUN python -m pytest

# Runs the application.
CMD ["store.app.aws.handler"]
CMD ["store/app/aws.handler"]
2 changes: 1 addition & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if [[ ! -f "store/requirements.txt" ]]; then
fi

# Builds the API Docker image.
docker build --platform linux/amd64 -t kscale-store -f docker/Dockerfile .
docker buildx build --platform linux/amd64 -t kscale-store -f docker/Dockerfile .

0 comments on commit 0ccae97

Please sign in to comment.