Skip to content
name: Build and push deduplication-api images to ECR
on:
push:
branches:
- main
- rel-**
paths:
- "deduplication/**"
jobs:

Check failure on line 10 in .github/workflows/Build-and-deploy-deduplication-api.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/Build-and-deploy-deduplication-api.yaml

Invalid workflow file

You have an error in your yaml syntax on line 10
sonar_scan:
uses: ./.github/workflows/sonar.yaml
secrets:
CDC_NBS_SANDBOX_SHARED_SERVICES_ACCOUNTID: ${{secrets.CDC_NBS_SANDBOX_SHARED_SERVICES_ACCOUNTID}}
PASSED_GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
DATABASE_USER: ${{secrets.DATABASE_USER}}
DATABASE_PASSWORD: ${{secrets.DATABASE_PASSWORD}}
call-build-microservice-container-workflow:
name: Build Container
needs: sonar_scan
uses: CDCgov/NEDSS-Workflows/.github/workflows/Build-gradle-microservice-container.yaml@main
with:
microservice_name: deduplication-api
dockerfile_relative_path: -f ./deduplication/Dockerfile .
environment_classifier: SNAPSHOT
java_version: "21"
secrets:
CDC_NBS_SANDBOX_SHARED_SERVICES_ACCOUNTID: ${{secrets.CDC_NBS_SANDBOX_SHARED_SERVICES_ACCOUNTID}}
ECR_REPO_BASE_NAME: ${{secrets.ECR_REPO_BASE_NAME}}
GIT_USER_EMAIL: ${{secrets.GIT_USER_EMAIL}}
GIT_USER_NAME: ${{secrets.GIT_USER_NAME}}
HELM_TOKEN: ${{secrets.HELM_TOKEN}}