mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
GitHub Actions: ensure container names are all lower case
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c2d138b0f9
commit
5e05a18395
4 changed files with 4 additions and 0 deletions
1
.github/workflows/android-dockerimage.yml
vendored
1
.github/workflows/android-dockerimage.yml
vendored
|
@ -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}"
|
||||
|
||||
|
|
1
.github/workflows/linux-dockerimage.yml
vendored
1
.github/workflows/linux-dockerimage.yml
vendored
|
@ -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}"
|
||||
|
||||
|
|
1
.github/workflows/mxe-dockerimage-stage1.yml
vendored
1
.github/workflows/mxe-dockerimage-stage1.yml
vendored
|
@ -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}"
|
||||
|
||||
|
|
1
.github/workflows/mxe-dockerimage-stage2.yml
vendored
1
.github/workflows/mxe-dockerimage-stage2.yml
vendored
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue