mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 05:23:14 +00:00
Merge pull request #10017 from DSpace/backport-10016-to-dspace-7_x
[Port dspace-7_x] [GitHub Actions] More fixes to Docker deployment builds
This commit is contained in:
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@@ -161,10 +161,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
# Override defaults dspace.server.url because backend starts at http://127.0.0.1:8080
|
# Override defaults dspace.server.url because backend starts at http://127.0.0.1:8080
|
||||||
dspace__P__server__P__url: http://127.0.0.1:8080/server
|
dspace__P__server__P__url: http://127.0.0.1:8080/server
|
||||||
# If this is a PR, force using "pr-testing" version of all Docker images. Otherwise, for branch commits, use the
|
# If this is a PR, force using "pr-testing" version of all Docker images. Otherwise, if on main branch, use the
|
||||||
# "latest" tag. NOTE: the "pr-testing" tag is a temporary tag that we assign to all PR-built docker images in
|
# "latest" tag. Otherwise, use the branch name. NOTE: the "pr-testing" tag is a temporary tag that we assign to
|
||||||
# reusabe-docker-build.yml
|
# all PR-built docker images in reusabe-docker-build.yml
|
||||||
DSPACE_VER: ${{ github.event_name == 'pull_request' && 'pr-testing' || 'latest' }}
|
DSPACE_VER: ${{ (github.event_name == 'pull_request' && 'pr-testing') || (github.ref_name == github.event.repository.default_branch && 'latest') || github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
# Checkout our codebase (to get access to Docker Compose scripts)
|
# Checkout our codebase (to get access to Docker Compose scripts)
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
|
Reference in New Issue
Block a user