diff --git a/.github/workflows/maven-postgres-tests-build.yml b/.github/workflows/maven-postgres-tests-build.yml index 990644821a8c..53213ed80d3d 100644 --- a/.github/workflows/maven-postgres-tests-build.yml +++ b/.github/workflows/maven-postgres-tests-build.yml @@ -105,7 +105,7 @@ jobs: if: ${{ github.event_name == 'pull_request_target' }} run: | git fetch --no-tags https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main - mvn -pl :openmetadata-service -Dprofile=postgres-tests clean package -am + mvn -pl :openmetadata-service -Ppostgres-tests clean package -am - name: Build with Maven env: diff --git a/openmetadata-service/pom.xml b/openmetadata-service/pom.xml index fbfff304d64a..ead5ff2d7b00 100644 --- a/openmetadata-service/pom.xml +++ b/openmetadata-service/pom.xml @@ -582,7 +582,7 @@ org.testcontainers.containers.PostgreSQLContainer - postgres:12.10 + postgres:15