Skip to content
Permalink
Browse files

docker: master=>latest

  • Loading branch information
3nids authored and nyalldawson committed Feb 8, 2021
1 parent e7485af commit 781cd27fb5116ab4e9345d140d7744e4e82c453b
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/run-tests.yml
@@ -43,7 +43,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
GITHUB_PR_NUMBER: ${{github.event.number}}
run: |
DOCKER_TAG=$( [[ ${GITHUB_EVENT_NAME} =~ ^pull_request$ ]] && echo ${GITHUB_BASE_REF} || echo ${GITHUB_REF##*/} )
DOCKER_TAG=$(echo $( [[ ${GITHUB_EVENT_NAME} =~ ^pull_request$ ]] && echo ${GITHUB_BASE_REF} || echo ${GITHUB_REF##*/} ) | sed 's/^master$/latest/')
CTEST_BUILD_NAME=$( [[ ${GITHUB_EVENT_NAME} =~ ^pull_request$ ]] && echo PR ${GITHUB_PR_NUMBER} || echo ${GITHUB_REF##*/} )" (${GITHUB_SHA})"
echo "DOCKER_TAG=${DOCKER_TAG}" >> $GITHUB_ENV
echo "CTEST_BUILD_NAME=${CTEST_BUILD_NAME}" >> $GITHUB_ENV

0 comments on commit 781cd27

Please sign in to comment.