Skip to content

Commit 9c8f3b6

Browse files
author
Matthias Koeppe
committed
.github/workflows/docker.yml: Set DOCKER_TAG from pre-merge commit sha even when docker_push_repository is not set
1 parent ebef87a commit 9c8f3b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ jobs:
191191
echo "DOCKER_PUSH_REPOSITORY=$(echo ${{ inputs.docker_push_repository }} | tr "[:upper:]" "[:lower:]")" >> $GITHUB_ENV
192192
echo "DOCKER_CONFIG_FILE=$HOME/.docker/config.json" >> $GITHUB_ENV
193193
fi
194+
195+
- name: Determine Docker tags to use
196+
run: |
194197
# This line needs to be run before the step "Merge CI fixes from sagemath/sage".
195198
DOCKER_TAG="$(git describe --dirty --always)"
196199
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV

0 commit comments

Comments
 (0)