Skip to content

Commit

Permalink
285 - set docker login in mvn command
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-gary committed Aug 22, 2024
1 parent da21104 commit 0408c88
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ jobs:
run: |
echo "Updating helm unittest plugin to latest version..."
helm plugin install https://github.com/helm-unittest/helm-unittest.git
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
Expand All @@ -95,6 +90,7 @@ jobs:
# Run build with the gh-build profile
- name: Build aiSSEMBLE
run: |
docker login registry-1.docker.io/v1 -u ${{ secrets.DOCKERHUB_USERNAME }} --p ${{ secrets.DOCKERHUB_TOKEN }}
./mvnw -B clean install -U --file pom.xml -Pgh-build
# ./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 0408c88

Please sign in to comment.