diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b538786..b7e7b2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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