diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-28 13:57:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-05 15:51:29 -0800 |
commit | 5e05a183958dc14b5f569e72d1f21453e2a81c40 (patch) | |
tree | ccd2e042cc1a48651c7c370ca9389219fd81307f /.github/workflows | |
parent | c2d138b0f9d0f1bbd2b1c7a68372a15acf43c186 (diff) | |
download | subsurface-5e05a183958dc14b5f569e72d1f21453e2a81c40.tar.gz |
GitHub Actions: ensure container names are all lower case
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/android-dockerimage.yml | 1 | ||||
-rw-r--r-- | .github/workflows/linux-dockerimage.yml | 1 | ||||
-rw-r--r-- | .github/workflows/mxe-dockerimage-stage1.yml | 1 | ||||
-rw-r--r-- | .github/workflows/mxe-dockerimage-stage2.yml | 1 |
4 files changed, 4 insertions, 0 deletions
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}" |