Skip to content

Commit

Permalink
.github/workflows/docker.yml: Set DOCKER_TAG from pre-merge commit sh…
Browse files Browse the repository at this point in the history
…a even when docker_push_repository is not set
  • Loading branch information
Matthias Koeppe committed Nov 6, 2023
1 parent ebef87a commit 9c8f3b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ jobs:
echo "DOCKER_PUSH_REPOSITORY=$(echo ${{ inputs.docker_push_repository }} | tr "[:upper:]" "[:lower:]")" >> $GITHUB_ENV
echo "DOCKER_CONFIG_FILE=$HOME/.docker/config.json" >> $GITHUB_ENV
fi
- name: Determine Docker tags to use
run: |
# This line needs to be run before the step "Merge CI fixes from sagemath/sage".
DOCKER_TAG="$(git describe --dirty --always)"
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
Expand Down

0 comments on commit 9c8f3b6

Please sign in to comment.