Skip to content

Commit

Permalink
285 - test pypi deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-gary committed Aug 24, 2024
1 parent b904c8c commit 1ff4250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ jobs:

- name: Create settings.xml
run: |
echo "<settings><servers><server><id>ghcr.io</id><username>d-ryan-ashcraft</username><password>${{ secrets.GHCR_IO_TOKEN }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
echo "<settings><servers><server><id>ghcr.io</id><username>d-ryan-ashcraft</username><password>${{ secrets.GHCR_IO_TOKEN }}</password></server><server><id>pypix</id><username>${{ secrets.PYPI_USENAME }}</username><password>${{ secrets.PYPI_TOKEN }}</password></server><server><id>pypi</id><username>${{ secrets.TEST_PYPI_USENAME }}</username><password>${{ secrets.TEST_PYPI_TOKEN }}</password></server> </servers></settings>" > $HOME/.m2/settings.xml
- name: Build aiSSEMBLE
run: |
docker login registry-1.docker.io/v1 -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
./mvnw -B clean install -U -f pom.xml -Pgh-build --settings $HOME/.m2/settings.xml
./mvnw -B clean deploy -U -f pom.xml -Pgh-build --settings $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,
Expand Down

0 comments on commit 1ff4250

Please sign in to comment.