diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml index df5704317..9f7b9f7bc 100644 --- a/.github/workflows/build2.yml +++ b/.github/workflows/build2.yml @@ -94,7 +94,8 @@ jobs: # Run build with the gh-build profile - name: Build aiSSEMBLE run: | - ./mvnw -U -B clean install -pl :aissemble-fastapi -Pci,integration-test,gh-build --settings $HOME/.m2/settings.xml + docker image ls | grep "ghcr.io/boozallen/aissemble-fastapi" || echo "Image not found" +# ./mvnw -B clean install -U -Dmaven.build.cache.skipCache=true -Ddocker.nocache=true -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 29ba419ed..94eabfa10 100644 --- a/extensions/extensions-docker/aissemble-fastapi/pom.xml +++ b/extensions/extensions-docker/aissemble-fastapi/pom.xml @@ -19,6 +19,12 @@ ${group.fabric8.plugin} docker-maven-plugin + + true + true + true + true + org.codehaus.mojo diff --git a/extensions/extensions-docker/aissemble-fastapi/src/main/resources/docker/scripts/check-docker-auth.sh b/extensions/extensions-docker/aissemble-fastapi/src/main/resources/docker/scripts/check-docker-auth.sh index bdd0a541d..db4315763 100755 --- a/extensions/extensions-docker/aissemble-fastapi/src/main/resources/docker/scripts/check-docker-auth.sh +++ b/extensions/extensions-docker/aissemble-fastapi/src/main/resources/docker/scripts/check-docker-auth.sh @@ -15,5 +15,5 @@ user_abbrev=$(docker info | grep Username | awk '{print substr($2, 1, 4)}') if [ -z "$user_abbrev" ]; then echo "Not authenticated" else - echo "Authenticated as: $user_abbrev" + echo "Docker info: $user_abbrev" fi