Skip to content

Commit

Permalink
GitHub isn't using alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Jan 5, 2024
1 parent de28408 commit b1909e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .ci-scripts/pytest_before.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ set -e
env

if [ -z "${CI_REGISTRY}" ]; then
# GitHub uses Ubuntu
# Running in GitHub
export COMPOSE_PROJECT_NAME=$GITHUB_REPOSITORY
else
# Running in Gitlab
apk add make
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
export COMPOSE_PROJECT_NAME=$CI_PIPELINE_ID
else
export COMPOSE_PROJECT_NAME=$GITHUB_REPOSITORY
fi

.ci-scripts/pull_images.sh
Expand Down

0 comments on commit b1909e6

Please sign in to comment.