Skip to content

Commit

Permalink
Uncomments part of Push Server Image to Amazon ECR to see if it still…
Browse files Browse the repository at this point in the history
… works
  • Loading branch information
MateoRojas committed Jan 19, 2024
1 parent 310566b commit 81d6985
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ jobs:
with:
mask-password: "true"
registry-type: public
# - name: Push Server Image to Amazon ECR
# env:
# ECR_REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}
# ECR_REGISTRY_ALIAS: littlehorse
# ECR_REPOSITORY: lh-server
# IMAGE_TAG: ${{ github.ref_name }}
# run: |
# docker build -f docker/server/Dockerfile -t $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:$IMAGE_TAG .
# docker tag $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:latest
- name: Push Server Image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}
ECR_REGISTRY_ALIAS: littlehorse
ECR_REPOSITORY: lh-server
IMAGE_TAG: ${{ github.ref_name }}
run: |
docker build -f docker/server/Dockerfile -t $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:$IMAGE_TAG .
docker tag $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:latest
# docker push $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:$IMAGE_TAG
# docker push $ECR_REGISTRY/$ECR_REGISTRY_ALIAS/$ECR_REPOSITORY:latest
- name: Push Standalone Image to Amazon ECR
Expand Down

0 comments on commit 81d6985

Please sign in to comment.