adding workflow for mr ref2

This commit is contained in:
work 2025-02-12 18:59:42 +01:00
parent eaf6813468
commit d86ebac35a

View file

@ -28,7 +28,7 @@ jobs:
- name: Build, tag, and push docker image to Amazon ECR - name: Build, tag, and push docker image to Amazon ECR
env: env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }} REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: my-ecr-repo REPOSITORY: kpiasecki-spring-pet-clinic
IMAGE_TAG: ${{ github.sha }} IMAGE_TAG: ${{ github.sha }}
run: | run: |
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG . docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG .