From d00234b60ddbfdb6fedc9bc8b0fb6c6ced5ed252 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Fri, 18 Sep 2020 09:43:59 +0200 Subject: [PATCH] ci: Don't hash TASK_DEVEL_SHA for tags (reuses old docker images) This isn't really necessary but it seems cleaner anyway. :-) --- .github/workflows/tests.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0d453cc..c98020d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -30,10 +30,9 @@ jobs: ( echo ALPINE_VERSION="$ALPINE_VERSION" echo PYTHON_VERSION="$PYTHON_VERSION" - echo TASK_VERSION="$TASK_VERSION" + echo TASK_VERSION="$TASK_VERSION" ${TASK_DEVEL_SHA:+TASK_DEVEL_SHA="$TASK_DEVEL_SHA"} echo VIM_VERSION="$VIM_VERSION" echo VIMWIKI_VERSION="$VIMWIKI_VERSION" - echo TASK_DEVEL_SHA="$TASK_DEVEL_SHA" cat Dockerfile ) | sha256sum | read -r tag _ docker login "$DOCKER_REGISTRY" -u "$GITHUB_USER" -p "$GITHUB_TOKEN" || :