Skip to content

Commit

Permalink
Use a quoted string for the repository env var
Browse files Browse the repository at this point in the history
  • Loading branch information
dotemacs committed Jul 24, 2024
1 parent c1aa2b2 commit 0d4b644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: fb-editor
REPOSITORY: "fb-editor"
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -f docker/web/Dockerfile -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
docker build -f docker/web/Dockerfile -t $REPOSITORY .
docker tag $REPOSITORY:$IMAGE_TAG $REGISTRY/$REPOISTORY:$IMAGE_TAG
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG

0 comments on commit 0d4b644

Please sign in to comment.