diff --git a/.github/workflows/actions/lambda-deploy/action.yml b/.github/workflows/actions/lambda-deploy/action.yml index c7bd0b6..3ca0fc8 100644 --- a/.github/workflows/actions/lambda-deploy/action.yml +++ b/.github/workflows/actions/lambda-deploy/action.yml @@ -66,8 +66,8 @@ runs: - name: Build and push Docker image shell: bash run: | - IMAGE_URI=${{ steps.login-ecr.outputs.registry }}/${{ inputs.lambda_name }}:${{ steps.set_tag.outputs.tag }} - echo "Building Docker image for ${{ inputs.lambda_name }}..." + IMAGE_URI=${{ steps.login-ecr.outputs.registry }}/${{ inputs.ecr_name }}:${{ steps.set_tag.outputs.tag }} + echo "Building Docker image for ${{ inputs.ecr_name }}..." docker build -t $IMAGE_URI -f ${{ inputs.dockerfile_path }} . echo "Pushing to ECR..."