Skip to content

Conversation

@tdonohue
Copy link
Member

Description

Currently, our docker-deploy step is failing (on all active branches) whenever it runs post-merger of a PR.

Examples:

The reason for this failure is that we're attempting to pull the backend image from ghcr.io (in order to start a backend to test against). But, we run into a permissions error every time as our ghcr.io images are private (and only used for build verifications).

This small PR just updates our GitHub actions docker.yml to ensure the backend image is always pulled from docker.io (our public images). This fixes a minor flaw in the new docker-deploy tests added in #4987

(NOTE: The frontend images continue to be taken from ghcr.io in order to test the latest built frontend image. This remains unchanged because the dspace-angular repo can easily pull frontend images from ghcr.io. It just doesn't have permissions to pull the backend images)

Instructions for Reviewers

  • Unfortunately, this cannot be manually tested as it is only updating our GitHub actions docker.yml script. Therefore, assuming our automated tests all pass, I'll merge this immediately and port to all active branches (as this same flaw appears on all branches)

@tdonohue tdonohue added this to the 10.0 milestone Jan 21, 2026
@tdonohue tdonohue added bug 1 APPROVAL pull request only requires a single approval to merge backend: Docker related to DSpace deployment via Docker port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release port to dspace-9_x This PR needs to be ported to `dspace-9_x` branch for next bug-fix release labels Jan 21, 2026
@tdonohue
Copy link
Member Author

👍 Merging immediately as all automated tests pass & this fixes a build bug on all maintenance branches.

@tdonohue tdonohue merged commit 04cf0ea into DSpace:main Jan 21, 2026
16 checks passed
@dspace-bot
Copy link
Contributor

Git push to origin failed for dspace-7_x with exitcode 1

@dspace-bot
Copy link
Contributor

@dspace-bot
Copy link
Contributor

@tdonohue
Copy link
Member Author

Verified this fixed the bug in docker-deploy post-merger of this PR. The tests are succeeding again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 APPROVAL pull request only requires a single approval to merge backend: Docker related to DSpace deployment via Docker bug port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release port to dspace-9_x This PR needs to be ported to `dspace-9_x` branch for next bug-fix release

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants