diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml index 22d43f127..eb51b32db 100644 --- a/.github/workflows/build2.yml +++ b/.github/workflows/build2.yml @@ -88,16 +88,14 @@ jobs: - name: Create Docker Builder Config File run: sudo touch /etc/buildkitd.toml # Run build with the gh-build profile - -# - name: Create settings.xml -# run: | -# echo "ghcr.iod-ryan-ashcraft${{ secrets.GHCR_IO_TOKEN }}pypix${{ secrets.PYPI_USENAME }}${{ secrets.PYPI_TOKEN }}pypi${{ secrets.TEST_PYPI_USENAME }}${{ secrets.TEST_PYPI_TOKEN }} " > $HOME/.m2/settings.xml + - name: Create settings.xml + run: | + echo "ghcr.iod-ryan-ashcraft${{ secrets.GHCR_IO_TOKEN }}pypi${{ secrets.PYPI_USENAME }}${{ secrets.PYPI_TOKEN }}pypi-devfoobar " > $HOME/.m2/settings.xml - name: Build aiSSEMBLE run: | docker login registry-1.docker.io/v1 -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} - mkdir -p ~/.m2 - echo "ghcr.iod-ryan-ashcraft${{ secrets.GHCR_IO_TOKEN }}pypifoobardev-pypi${{ secrets.TEST_PYPI_USENAME }}${{ secrets.TEST_PYPI_TOKEN }} " > $HOME/.m2/settings.xml ./mvnw -B clean deploy -U -f pom.xml -Pci,gh-build --settings $HOME/.m2/settings.xml +# echo "ghcr.iod-ryan-ashcraft${{ secrets.GHCR_IO_TOKEN }}pypifoobardev-pypi${{ secrets.TEST_PYPI_USENAME }}${{ secrets.TEST_PYPI_TOKEN }} " > $HOME/.m2/settings.xml # ./mvnw -B clean deploy -U -f extensions/extensions-docker -Pgh-build --settings $HOME/.m2/settings.xml # ./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build #NB: The following two explicit cache saves are necessary to ensure caches are saved on build failure,