From 5e05a183958dc14b5f569e72d1f21453e2a81c40 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 28 Nov 2019 13:57:08 -0800 Subject: GitHub Actions: ensure container names are all lower case Signed-off-by: Dirk Hohndel --- .github/workflows/android-dockerimage.yml | 1 + .github/workflows/linux-dockerimage.yml | 1 + .github/workflows/mxe-dockerimage-stage1.yml | 1 + .github/workflows/mxe-dockerimage-stage2.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/android-dockerimage.yml b/.github/workflows/android-dockerimage.yml index d67831e43..106bd99b9 100644 --- a/.github/workflows/android-dockerimage.yml +++ b/.github/workflows/android-dockerimage.yml @@ -27,6 +27,7 @@ jobs: v=${{ env.VERSION }} b=${{ github.ref }} # -BRANCH suffix, unless the branch is master b=${b/refs\/heads\//} + b=${b,,} # the name needs to be all lower case if [ $b = "master" ] ; then b="" ; else b="-$b" ; fi echo "::set-env name=NAME::subsurface/android-build-container${b}:${v}" diff --git a/.github/workflows/linux-dockerimage.yml b/.github/workflows/linux-dockerimage.yml index e978132a8..4e7a0b530 100644 --- a/.github/workflows/linux-dockerimage.yml +++ b/.github/workflows/linux-dockerimage.yml @@ -25,6 +25,7 @@ jobs: v=${{ env.VERSION }} b=${{ github.ref }} # -BRANCH suffix, unless the branch is master b=${b/refs\/heads\//} + b=${b,,} # the name needs to be all lower case if [ $b = "master" ] ; then b="" ; else b="-$b" ; fi echo "::set-env name=NAME::subsurface/trusty-qt512${b}:${v}" diff --git a/.github/workflows/mxe-dockerimage-stage1.yml b/.github/workflows/mxe-dockerimage-stage1.yml index 0f6743d5f..1d4859364 100644 --- a/.github/workflows/mxe-dockerimage-stage1.yml +++ b/.github/workflows/mxe-dockerimage-stage1.yml @@ -28,6 +28,7 @@ jobs: s=".stage1" b=${{ github.ref }} # -BRANCH suffix, unless the branch is master b=${b/refs\/heads\//} + b=${b,,} # the name needs to be all lower case if [ $b = "master" ] ; then b="" ; else b="-$b" ; fi echo "::set-env name=NAME::subsurface/mxe-build-container${b}:${v}${s}" diff --git a/.github/workflows/mxe-dockerimage-stage2.yml b/.github/workflows/mxe-dockerimage-stage2.yml index d1d640975..5e56f68cd 100644 --- a/.github/workflows/mxe-dockerimage-stage2.yml +++ b/.github/workflows/mxe-dockerimage-stage2.yml @@ -23,6 +23,7 @@ jobs: s=".stage1" b=${{ github.event.client_payload.target_branc }} # -BRANCH suffix, unless the branch is master b=${b/refs\/heads\//} + b=${b,,} # the name needs to be all lower case if [ $b = "master" ] ; then b="" ; else b="-$b" ; fi echo "::set-env name=VERSION::${v}${s}" echo "::set-env name=NAME::subsurface/mxe-build-container${b}:${v}" -- cgit v1.2.3-70-g09d2