Skip to content

Commit

Permalink
Remove echo in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ris-tlp committed Feb 27, 2024
1 parent e7d0a40 commit 8042c73
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ecrpush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ jobs:
with:
registry-type: public
- name: 'Build, tag, and push image to Amazon ECR'
env:
IMAGE_TAG: '${{ github.sha }}'
working-directory: api/
run: |
echo ${{ steps.fetch-ecr-repo.outputs.repository_uri }}
docker build -t ${{ steps.fetch-ecr-repo.outputs.repository_uri }}:$IMAGE_TAG .
docker push ${{ steps.fetch-ecr-repo.outputs.repository_uri }}:$IMAGE_TAG
docker build -t ${{ steps.fetch-ecr-repo.outputs.repository_uri }}:latest .
docker push ${{ steps.fetch-ecr-repo.outputs.repository_uri }}:latest

0 comments on commit 8042c73

Please sign in to comment.