Skip to content
Draft
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
3 changes: 2 additions & 1 deletion .github/workflows/docker_pygem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
no-cache: true
file: 'docker/Dockerfile'
build-args: |
PYGEM_BRANCH=${{ github.ref == 'refs/heads/master' && 'master' || 'dev' }}
# Map this repo's 'master' branch to 'main' in PyGEM-Community/PyGEM (upstream uses 'main')
PYGEM_BRANCH=${{ github.ref == 'refs/heads/master' && 'main' || 'dev' }}
tags: |
ghcr.io/pygem-community/pygem:${{ github.ref == 'refs/heads/master' && 'latest' || github.ref == 'refs/heads/dev' && 'dev' }}
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ WORKDIR /home/ubuntu
# Add .local/bin to PATH
ENV PATH="/home/ubuntu/.local/bin:${PATH}"

# What PyGEM branch to clone (either master or dev; see docker_pygem.yml)
ARG PYGEM_BRANCH=master
# What PyGEM branch to clone (either main or dev; see docker_pygem.yml)
ARG PYGEM_BRANCH=main

RUN git clone --branch ${PYGEM_BRANCH} https://github.com/PyGEM-Community/PyGEM.git && \
pip install --break-system-packages -e PyGEM
Expand Down