Skip to content

Commit

Permalink
Tweaked the repo config for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dotemacs committed Jul 24, 2024
1 parent 0815959 commit 3f4f137
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: your-repo
REPOSITORY: fb-editor
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG
docker -f docker/web/Dockerfile build -t ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG} .
docker tag ${REPOSITORY}:${IMAGE_TAG} ${REGISTRY}/${REPOISTORY}:${IMAGE_TAG}
docker push ${REGISTRY}/${REPOSITORY}:${IMAGE_TAG}

0 comments on commit 3f4f137

Please sign in to comment.