From 603a638d546726c6890b1b80203cb17e1b2d74d6 Mon Sep 17 00:00:00 2001 From: Matus Kasak Date: Thu, 19 Nov 2026 09:39:38 +0100 Subject: [PATCH] Restore DataQuest CI/CD workflows on dtq-dev-93 On 2026-10-30 the DataQuest CI was stripped from dtq-dev-9-base to prepare it for ufal/clarin-dspace#1427 (commits 02837a5894, 5c7fde9547, d2ef68e137). dtq-dev-93 was branched after that, so it had no DataQuest CI at all. Restore .github and the Dockerfiles to their state before that cleanup (45f6c3c34e), and point the Docker build at dtq-dev-93 instead of dtq-dev-9-base. Related: dataquest-dev/dspace-customers#1024 Co-Authored-By: Claude Opus 5.5 --- .github/copilot-instructions.md | 204 ++++++++++++++++++ .github/workflows/PM-label-review-process.yml | 22 ++ .github/workflows/docker.yml | 73 ++++--- .github/workflows/new_issue_assign.yml | 16 ++ .github/workflows/new_issue_label.yml | 18 ++ .github/workflows/reusable-docker-build.yml | 2 - .github/workflows/tag-release.yml | 2 +- .github/workflows/trigger-builds.yml | 29 +++ Dockerfile | 4 +- Dockerfile.cli | 4 +- Dockerfile.test | 4 +- 11 files changed, 334 insertions(+), 44 deletions(-) create mode 100644 .github/copilot-instructions.md create mode 100644 .github/workflows/PM-label-review-process.yml create mode 100644 .github/workflows/new_issue_assign.yml create mode 100644 .github/workflows/new_issue_label.yml create mode 100644 .github/workflows/trigger-builds.yml diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 000000000000..d90d57da345c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,204 @@ +# Copilot Instructions for CLARIN-DSpace Repository + +## Repository Overview + +This repository contains **CLARIN-DSpace**, an institutional repository backend built on **DSpace v7**. It is a Java-based web application that provides REST APIs and services for digital library management. The system is designed for academic and research institutions to store, organize, and provide access to digital resources. + +**Key Technologies:** +- **Language:** Java 11+ (currently Java 17 compatible) +- **Build System:** Apache Maven 3.x +- **Framework:** Spring Boot, Spring MVC, Spring HATEOAS +- **Testing:** JUnit, Maven Surefire (unit tests) and Failsafe (integration tests) +- **Database:** PostgreSQL with pgcrypto extension +- **Search:** Apache Solr 8.x +- **Container Support:** Docker and Docker Compose + +**Repository Size:** ~32MB source code with 13 Maven modules, extensive test suite, and Docker configurations. + +## Critical Build Information + +### 📦 Handle Server Dependency +The repository has a **dependency on `handle.net` Maven repository** (`https://handle.net/maven`) for the Handle Server library (`net.handle:handle:jar:9.3.0`). This dependency is typically resolved without issues when proper network access is configured. + +**Note:** If you encounter DNS resolution errors for `handle.net`, this indicates network connectivity restrictions that may need to be configured in your environment's allowlist. + +### Build Commands + +**Basic Build (Skip Tests):** +```bash +MAVEN_OPTS="-Xmx1024M" mvn clean install -DskipTests=true --no-transfer-progress -P-assembly +``` + +**Full Build with Tests:** +```bash +MAVEN_OPTS="-Xmx1024M" mvn clean install -DskipUnitTests=false -DskipIntegrationTests=false -P-assembly +``` + +**Required Memory Settings:** +- Always use `MAVEN_OPTS="-Xmx1024M"` for sufficient heap memory +- Use `--no-transfer-progress` to reduce log verbosity + +## Testing Procedures + +### Unit Tests +```bash +mvn test -DskipUnitTests=false -Dtest.argLine=-Xmx1024m -DsurefireJacoco=-XX:MaxPermSize=256m +``` + +### Integration Tests +```bash +mvn install -DskipIntegrationTests=false -Dtest.argLine=-Xmx1024m -DfailsafeJacoco=-XX:MaxPermSize=256m -Dcheckstyle.skip=true -Dlicense.skip=true +``` + +### Single Test Execution +```bash +# Single unit test class +mvn test -DskipUnitTests=false -Dtest=[full.package.testClassName] -DfailIfNoTests=false + +# Single integration test +mvn install -DskipIntegrationTests=false -Dit.test=[full.package.testClassName] -DfailIfNoTests=false -Dcheckstyle.skip -Dlicense.skip +``` + +### Test Module Isolation +Before running tests in a specific module, install dependencies: +```bash +mvn clean install -DskipTests=true +cd [module-directory] +# Run module-specific tests +``` + +## Code Quality and Validation + +### Checkstyle (Works Reliably) +```bash +# Check entire project +mvn checkstyle:check --no-transfer-progress + +# Check specific module +mvn checkstyle:check -f [module]/pom.xml --no-transfer-progress +``` + +**Checkstyle Rules:** +- 4-space indents for Java, 2-space for XML (NO TABS) +- K&R style braces on all blocks +- No wildcard imports +- Maximum 120 character line length +- Javadocs required for public classes/methods +- No trailing spaces (except comments) + +### License Header Validation +```bash +mvn license:check --no-transfer-progress +``` + +### Pre-commit Hooks +The repository uses pre-commit hooks with checkstyle validation: +```bash +# Install pre-commit (if available) +pip install pre-commit +pre-commit install +``` + +## Docker Alternative + +Docker provides an alternative build approach and development environment: + +```bash +# Dependencies image (pre-caches Maven dependencies) +docker build -t dspace/dspace-dependencies:dspace-7_x -f Dockerfile.dependencies . + +# Test image (includes both DSpace 7 REST API and legacy v6 API) +docker build -t dspace/dspace:dspace-7_x-test -f Dockerfile.test . + +# Production image +docker build -t dspace/dspace:dspace-7_x -f Dockerfile . +``` + +**Docker Compose for Development:** +```bash +docker compose -f docker-compose.yml up -d +``` + +## Project Layout and Architecture + +### Module Structure +``` +/ # Root with main pom.xml +├── dspace-parent/ # Parent POM configuration +├── dspace-services/ # Core services framework +├── dspace-api/ # Main API and business logic +├── dspace/ # Assembly and configuration +├── dspace-server-webapp/ # Spring Boot REST API webapp +├── dspace-iiif/ # IIIF integration +├── dspace-oai/ # OAI-PMH protocol support +├── dspace-rdf/ # RDF/Linked Data support +├── dspace-sword/ # SWORD protocol v1 +├── dspace-swordv2/ # SWORD protocol v2 +└── scripts/ # Build and utility scripts +``` + +### Key Configuration Files +- `pom.xml` - Main Maven configuration with Java 11 target +- `checkstyle.xml` - Code style rules and validation +- `checkstyle-suppressions.xml` - Style rule exceptions +- `.pre-commit-config.yaml` - Pre-commit hook configuration +- `docker-compose.yml` - Development environment setup + +### Main Source Directories +- `dspace-server-webapp/src/main/java/org/dspace/app/rest/` - REST API controllers +- `dspace-api/src/main/java/org/dspace/` - Core business logic +- `dspace/config/` - DSpace configuration files +- `dspace/solr/` - Solr search configuration + +## CI/CD Pipeline (.github/workflows/) + +**Primary Build Workflow:** `.github/workflows/build.yml` +- Runs on Java 11 with matrix strategy for unit and integration tests +- Uses `MAVEN_OPTS="-Xmx1024M"` +- Separate jobs for unit tests and integration tests +- Includes code coverage reporting +- **Triggered on:** pushes to `clarin-v7` and `customer/*` branches, plus all PRs + +**Test Execution in CI:** +- Unit Tests: `mvn install -DskipUnitTests=false -Pdspace-rest -Dsurefire.rerunFailingTestsCount=2` +- Integration Tests: `mvn install -DskipIntegrationTests=false -Denforcer.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Dxml.skip=true -Dfailsafe.rerunFailingTestsCount=2` + +## Essential Commands Reference + +**Clean Build (Most Reliable):** +```bash +mvn clean install -DskipTests=true --no-transfer-progress -P-assembly +``` + +**Code Quality Check:** +```bash +mvn checkstyle:check license:check --no-transfer-progress +``` + +**Resume Failed Build (After fixing issues):** +```bash +mvn -rf :dspace-api # Resume from dspace-api module +``` + +**Debug Build Issues:** +```bash +mvn -X # Enable debug logging +mvn -e # Show full stack traces +``` + +## Development Workflow + +1. **Start with code quality checks** - run checkstyle independently: `mvn checkstyle:check` +2. **Use incremental builds** - test changes in specific modules before full builds +3. **Leverage CI/CD pipeline** - view GitHub Actions results for comprehensive validation +4. **Docker development** - use Docker Compose for isolated development environments +5. **Module-specific testing** - run tests in individual modules after dependency installation + +## Trust These Instructions + +These instructions are comprehensive and current as of DSpace 7.6.1. Only search for additional information if: +- You encounter errors not mentioned here +- You need specific configuration details not covered +- You require advanced configuration or deployment procedures beyond basic development + +All build commands and procedures have been validated in the current environment. Maven builds should complete successfully with proper network access to dependency repositories. \ No newline at end of file diff --git a/.github/workflows/PM-label-review-process.yml b/.github/workflows/PM-label-review-process.yml new file mode 100644 index 000000000000..76574d5225b4 --- /dev/null +++ b/.github/workflows/PM-label-review-process.yml @@ -0,0 +1,22 @@ +name: Reviewer Label Management + +on: + pull_request: + types: [review_requested] + pull_request_review: + types: [submitted] + +permissions: + pull-requests: write + +jobs: + manage-reviewer-labels: + runs-on: ubuntu-latest + steps: + - name: Apply reviewer labels + uses: mazoea/ga-maz/label-review@master + with: + target-reviewer: 'vidiecan' + assigned-label: 'REVIEW-in-progress' + completed-label: 'REVIEW-done' + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index df4db72e0e20..2e71ff979055 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,49 +1,52 @@ # DSpace Docker image build for hub.docker.com name: Docker images -# Run this Build for all pushes to 'clarin-v9'. +# Run this Build for all pushes to 'dtq-dev-93' (the CLARIN/DSpace 9 base branch). # Also run for PRs to ensure PR doesn't break Docker build process (PRs build, but do not push). -# NOTE: uses "reusable-docker-build.yml" in this repository to actually build each of the Docker images. +# NOTE: uses the "reusable-docker-build.yml" from the 'dtq-dev' branch to actually build each of the +# Docker images. That is the same reusable workflow which builds our 'dtq-dev' and 'customer/*' images, +# and it pushes straight to hub.docker.com/u/dataquest. The vanilla DSpace copy of +# "reusable-docker-build.yml" that lives on this branch is NOT usable here: it builds via +# 'ghcr.io/', which resolves to 'ghcr.io/dataquest/...' -- a namespace this org does not own. on: push: branches: - - clarin-v9 + - dtq-dev-93 pull_request: workflow_dispatch: permissions: contents: read # to fetch code (actions/checkout) - packages: write # to write images to GitHub Container Registry (GHCR) jobs: #################################################### - # Build/Push the 'ufal/dspace-dependencies' image. + # Build/Push the 'dataquest/dspace-dependencies' image. # This image is used by all other DSpace build jobs. #################################################### dspace-dependencies: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' - uses: ./.github/workflows/reusable-docker-build.yml + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-dependencies - image_name: ufal/dspace-dependencies + image_name: dataquest/dspace-dependencies dockerfile_path: ./Dockerfile.dependencies secrets: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }} ####################################### - # Build/Push the 'ufal/dspace' image + # Build/Push the 'dataquest/dspace' image ####################################### dspace: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' # Must run after 'dspace-dependencies' job above needs: dspace-dependencies - uses: ./.github/workflows/reusable-docker-build.yml + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-prod - image_name: ufal/dspace + image_name: dataquest/dspace dockerfile_path: ./Dockerfile run_python_version_script: true # Must match 'build.version.file.path' in dspace/config/clarin-dspace.cfg @@ -53,52 +56,52 @@ jobs: DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }} ############################################################# - # Build/Push the 'ufal/dspace' image ('-test' tag) + # Build/Push the 'dataquest/dspace' image ('-test' tag) ############################################################# dspace-test: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' # Must run after 'dspace-dependencies' job above needs: dspace-dependencies - uses: ./.github/workflows/reusable-docker-build.yml + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-test - image_name: ufal/dspace + image_name: dataquest/dspace dockerfile_path: ./Dockerfile.test # As this is a test/development image, its tags are all suffixed with "-test". Otherwise, it uses the same - # tagging logic as the primary 'ufal/dspace' image above. + # tagging logic as the primary 'dataquest/dspace' image above. tags_flavor: suffix=-test secrets: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }} ########################################### - # Build/Push the 'ufal/dspace-cli' image + # Build/Push the 'dataquest/dspace-cli' image ########################################### dspace-cli: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' # Must run after 'dspace-dependencies' job above needs: dspace-dependencies - uses: ./.github/workflows/reusable-docker-build.yml + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-cli - image_name: ufal/dspace-cli + image_name: dataquest/dspace-cli dockerfile_path: ./Dockerfile.cli secrets: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }} ########################################### - # Build/Push the 'ufal/dspace-solr' image + # Build/Push the 'dataquest/dspace-solr' image ########################################### dspace-solr: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' - uses: ./.github/workflows/reusable-docker-build.yml + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-solr - image_name: ufal/dspace-solr + image_name: dataquest/dspace-solr dockerfile_path: ./dspace/src/main/docker/dspace-solr/Dockerfile # Must pass solrconfigs to the Dockerfile so that it can find the required Solr config files dockerfile_additional_contexts: 'solrconfigs=./dspace/solr/' @@ -107,15 +110,15 @@ jobs: DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }} ######################################################## - # Build/Push the 'ufal/dspace-postgres-loadsql' image + # Build/Push the 'dataquest/dspace-postgres-loadsql' image ######################################################## dspace-postgres-loadsql: - # Ensure this job never runs on forked repos. It's only executed for 'ufal/clarin-dspace' - if: github.repository == 'ufal/clarin-dspace' - uses: ./.github/workflows/reusable-docker-build.yml + # Ensure this job never runs on forked repos. It's only executed for 'dataquest-dev/DSpace' + if: github.repository == 'dataquest-dev/dspace' + uses: dataquest-dev/DSpace/.github/workflows/reusable-docker-build.yml@dtq-dev with: build_id: dspace-postgres-loadsql - image_name: ufal/dspace-postgres-loadsql + image_name: dataquest/dspace-postgres-loadsql # Must build out of subdirectory to have access to install script. # NOTE: this context will build the image based on the Dockerfile in the specified directory dockerfile_context: ./dspace/src/main/docker/dspace-postgres-loadsql/ diff --git a/.github/workflows/new_issue_assign.yml b/.github/workflows/new_issue_assign.yml new file mode 100644 index 000000000000..b577f2f02744 --- /dev/null +++ b/.github/workflows/new_issue_assign.yml @@ -0,0 +1,16 @@ +name: New issue assign +on: + issues: + types: [opened] + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + # You can target a project in a different organization + # to the issue + project-url: https://github.com/orgs/dataquest-dev/projects/12 + github-token: ${{ secrets.PAT_ISSUE_MGMT }} diff --git a/.github/workflows/new_issue_label.yml b/.github/workflows/new_issue_label.yml new file mode 100644 index 000000000000..e9fcf70ae6c9 --- /dev/null +++ b/.github/workflows/new_issue_label.yml @@ -0,0 +1,18 @@ +name: Auto Label New Issues + +on: + issues: + types: [opened] + +jobs: + label-issue: + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - name: Auto Label + uses: dataquest-dev/gh-actions/start@main + + with: + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/reusable-docker-build.yml b/.github/workflows/reusable-docker-build.yml index 04f940330157..6ab7f890432b 100644 --- a/.github/workflows/reusable-docker-build.yml +++ b/.github/workflows/reusable-docker-build.yml @@ -62,14 +62,12 @@ env: # For a new commit on default branch (main), use the literal tag 'latest' on Docker image. # For a new commit on other branches, use the branch name as the tag for Docker image. # For a new tag, copy that tag name as the tag for Docker image. - # For every build, also tag the image with the commit SHA (tag-release.yml retags that image on release). # For a pull request, use the name of the base branch that the PR was created against or "latest" (for main). # e.g. PR against 'main' will use "latest". a PR against 'dspace-7_x' will use 'dspace-7_x'. IMAGE_TAGS: | type=raw,value=latest,enable=${{ github.ref_name == github.event.repository.default_branch }} type=ref,event=branch,enable=${{ github.ref_name != github.event.repository.default_branch }} type=ref,event=tag - type=raw,value=${{ github.sha }} type=raw,value=${{ (github.event.pull_request.base.ref == github.event.repository.default_branch && 'latest') || github.event.pull_request.base.ref }},enable=${{ github.event_name == 'pull_request' }} # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index e92644c131a2..2986e140458a 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -8,7 +8,7 @@ on: env: - IMAGE_BASE_NAME: ufal/dspace + IMAGE_BASE_NAME: dataquest/dspace jobs: retag-BE-image: diff --git a/.github/workflows/trigger-builds.yml b/.github/workflows/trigger-builds.yml new file mode 100644 index 000000000000..1b5ce0b4da8d --- /dev/null +++ b/.github/workflows/trigger-builds.yml @@ -0,0 +1,29 @@ +name: Trigger Build for All Customer Branches + +on: + schedule: + - cron: "0 */4 * * *" # Runs every 4 hours + workflow_dispatch: # Allows manual triggering + +permissions: + actions: write # Grants permission to trigger workflows + contents: read # Access to repository contents + +jobs: + trigger-builds: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 # Ensures the repository is available + + - name: Get and Trigger Customer Branch Builds + run: | + # Authenticate with GitHub CLI using the token + echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token + + git fetch --prune origin # Ensure remote refs are fetched + BRANCHES=$(git ls-remote --heads origin | awk -F'/' '{print $3"/"$4}' | grep '^customer/') + for branch in $(echo "$BRANCHES" | sed -e 's/[\[\]"]//g' -e 's/,/\n/g'); do + echo "Triggering build for branch: $branch" + gh workflow run build.yml --ref $branch + done diff --git a/Dockerfile b/Dockerfile index 4dd563d45635..8d9a1e0c6e6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,13 @@ # To build with other versions, use "--build-arg JDK_VERSION=[value]" ARG JDK_VERSION=17 # The Docker version tag to build from -ARG DSPACE_VERSION=dtq-dev-9-base +ARG DSPACE_VERSION=dtq-dev-93 # The Docker registry to use for DSpace images. Defaults to "docker.io" # NOTE: non-DSpace images are hardcoded to use "docker.io" and are not impacted by this build argument ARG DOCKER_REGISTRY=docker.io # Step 1 - Run Maven Build -FROM ${DOCKER_REGISTRY}/ufal/dspace-dependencies:${DSPACE_VERSION} AS build +FROM ${DOCKER_REGISTRY}/dataquest/dspace-dependencies:${DSPACE_VERSION} AS build ARG TARGET_DIR=dspace-installer WORKDIR /app # The dspace-installer directory will be written to /install diff --git a/Dockerfile.cli b/Dockerfile.cli index 74a6689969bd..08c3430e4f33 100644 --- a/Dockerfile.cli +++ b/Dockerfile.cli @@ -7,13 +7,13 @@ # To build with other versions, use "--build-arg JDK_VERSION=[value]" ARG JDK_VERSION=17 # The Docker version tag to build from -ARG DSPACE_VERSION=dtq-dev-9-base +ARG DSPACE_VERSION=dtq-dev-93 # The Docker registry to use for DSpace images. Defaults to "docker.io" # NOTE: non-DSpace images are hardcoded to use "docker.io" and are not impacted by this build argument ARG DOCKER_REGISTRY=docker.io # Step 1 - Run Maven Build -FROM ${DOCKER_REGISTRY}/ufal/dspace-dependencies:${DSPACE_VERSION} AS build +FROM ${DOCKER_REGISTRY}/dataquest/dspace-dependencies:${DSPACE_VERSION} AS build ARG TARGET_DIR=dspace-installer WORKDIR /app # The dspace-installer directory will be written to /install diff --git a/Dockerfile.test b/Dockerfile.test index 9a85ffb7254c..197092d68d2f 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -9,13 +9,13 @@ # To build with other versions, use "--build-arg JDK_VERSION=[value]" ARG JDK_VERSION=17 # The Docker version tag to build from -ARG DSPACE_VERSION=dtq-dev-9-base +ARG DSPACE_VERSION=dtq-dev-93 # The Docker registry to use for DSpace images. Defaults to "docker.io" # NOTE: non-DSpace images are hardcoded to use "docker.io" and are not impacted by this build argument ARG DOCKER_REGISTRY=docker.io # Step 1 - Run Maven Build -FROM ${DOCKER_REGISTRY}/ufal/dspace-dependencies:${DSPACE_VERSION} AS build +FROM ${DOCKER_REGISTRY}/dataquest/dspace-dependencies:${DSPACE_VERSION} AS build ARG TARGET_DIR=dspace-installer WORKDIR /app # The dspace-installer directory will be written to /install