diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9b4747..3a30822 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,9 +38,9 @@ jobs: DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} run: | mvn clean package \ - -Ddocker.registry.url= ${{ env.DOCKER_REGISTRY_URL }} \ - -Ddocker.registry.username= ${{ env.DOCKER_REGISTRY_USERNAME }} \ - -Ddocker.registry.password= ${{ env.DOCKER_REGISTRY_PASSWORD }} + -DDOCKER_REGISTRY_URL=${{ env.DOCKER_REGISTRY_URL }} \ + -DDOCKER_REGISTRY_USERNAME=${{ env.DOCKER_REGISTRY_USERNAME }} \ + -DDOCKER_REGISTRY_PASSWORD=${{ env.DOCKER_REGISTRY_PASSWORD }} # Uncomment lines below to build with Docker # - name: Set up QEMU diff --git a/pom.xml b/pom.xml index 939a248..c439e36 100644 --- a/pom.xml +++ b/pom.xml @@ -19,9 +19,9 @@ 8.0.33 1.4.13 - - - + ${DOCKER_REGISTRY_URL} + ${DOCKER_REGISTRY_USERNAME} + ${DOCKER_REGISTRY_PASSWORD}