From d6f089b3559b76a9f08a7e8206696da3267b437b Mon Sep 17 00:00:00 2001
From: Colin Palmer <163194595+colinpalmer-pro@users.noreply.github.com>
Date: Tue, 17 Sep 2024 14:50:32 -0400
Subject: [PATCH] 331 dockerhub rate limit - Run docker info during mvn build
---
.github/workflows/build2.yml | 13 +------------
.../aissemble-fastapi/pom.xml | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml
index 5728a8627..df5704317 100644
--- a/.github/workflows/build2.yml
+++ b/.github/workflows/build2.yml
@@ -94,18 +94,7 @@ jobs:
# Run build with the gh-build profile
- name: Build aiSSEMBLE
run: |
- user_abbrev=$(docker info | grep Username | awk '{print substr($2, 1, 2)}')
- if [ -z "$user_abbrev" ]; then
- echo "Not authenticated"
- else
- echo "Authenticated as: $user_abbrev"
- fi
- if [ -f ~/.docker/config.json ]; then
- echo "Docker config file found"
- else
- echo "Docker config file not found"
- fi
- ./mvnw -B clean install -pl :aissemble-fastapi -Pci,integration-test,gh-build --settings $HOME/.m2/settings.xml
+ ./mvnw -U -B clean install -pl :aissemble-fastapi -Pci,integration-test,gh-build --settings $HOME/.m2/settings.xml
# Install Maven which is needed for archetype tests
# - name: Set up Maven
# uses: stCarolas/setup-maven@v5
diff --git a/extensions/extensions-docker/aissemble-fastapi/pom.xml b/extensions/extensions-docker/aissemble-fastapi/pom.xml
index ac21e25d4..421a13b2f 100644
--- a/extensions/extensions-docker/aissemble-fastapi/pom.xml
+++ b/extensions/extensions-docker/aissemble-fastapi/pom.xml
@@ -20,6 +20,25 @@
${group.fabric8.plugin}
docker-maven-plugin
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.0.0
+
+
+ validate
+
+ exec
+
+
+ docker
+
+ info
+
+
+
+
+