Skip to content

Commit

Permalink
actions: test push docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroJorge148 committed Sep 20, 2024
1 parent 6bcf53b commit fb017b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
- name: Login to AWS ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

- name: Build and push docker image
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
TAG: ${{ steps.generate_tag.outputs.sha }}
run: |
docker build -t $REGISTRY/nest-clean/05-nest-clean:$TAG .
docker push $REGISTRY/nest-clean/05-nest-clean:$TAG
# - name: Login into the container registry
# uses: docker/login-action@v3
Expand Down

0 comments on commit fb017b1

Please sign in to comment.