Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ on:
tags:
- 'v*'
workflow_dispatch:
inputs:
invenio-override-branch:
description: 'invenio-override repo branch'
required: false
default: 'main'

jobs:

build-and-push-mug:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand All @@ -38,7 +43,16 @@ jobs:
mkdir .venv
uv venv .venv
source .venv/bin/activate
uv pip install git+https://github.com/sharedRDM/invenio-override@main
install_cmd='uv pip install git+https://github.com/sharedRDM/invenio-override@'
install_cmd_with_branch='${install_cmd}${{ github.event.inputs.invenio-override-branch }}'
eval "$install_cmd_with_branch"

- name: Change pyproject.toml
run: sed -i 's/invenio-override", branch = "main"/invenio-override", branch = "${{ github.event.inputs.invenio-override-branch }}"/g' pyproject.toml

- name: Relock uv
run: |
source .venv/bin/activate
uv lock --upgrade
deactivate
rm -rf .venv
Expand Down Expand Up @@ -81,7 +95,7 @@ jobs:


build-and-push-theme:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ data/.minio.sys

# Celery
celerybeat-schedule*

# IDEs
.idea/
Loading