aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/linux-dockerimage.disabled
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 12:41:28 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 13:39:16 -0800
commit8cbde0829d209fa2f27d07e0ad875fd938b8e1f3 (patch)
tree3d0f03fd11ef8359aad7878229c8f145928f2d56 /.github/workflows/linux-dockerimage.disabled
parent7c84e3de0572ff30180df258d4ca4a451e77fe2e (diff)
downloadsubsurface-8cbde0829d209fa2f27d07e0ad875fd938b8e1f3.tar.gz
GitHub Actions: clearly disable the docker build tasks
These haven't been used for a while and still create strange errors. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github/workflows/linux-dockerimage.disabled')
-rw-r--r--.github/workflows/linux-dockerimage.disabled39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/linux-dockerimage.disabled b/.github/workflows/linux-dockerimage.disabled
new file mode 100644
index 000000000..249a4baf1
--- /dev/null
+++ b/.github/workflows/linux-dockerimage.disabled
@@ -0,0 +1,39 @@
+name: Linux Qt 5.12 Docker Image CI
+
+#on:
+# push:
+# paths:
+# - scripts/docker/trusty-qt512/Dockerfile
+# - .github/workflows/linux-docker*
+
+jobs:
+ trusty-qt512:
+ runs-on: ubuntu-latest
+ env:
+ VERSION: ${{ '1.0' }} # 'official' images should have a dot-zero version
+
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Get our pre-reqs
+ run: |
+ cd scripts/docker/trusty-qt512
+ bash getpackages.sh
+
+ - name: set env
+ run: |
+ 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}"
+
+ - name: Build and Publish Linux Docker image to Dockerhub
+ uses: elgohr/Publish-Docker-Github-Action@master
+ with:
+ name: ${{ env.NAME }}
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ dockerfile: 'Dockerfile'
+ workdir: './scripts/docker/trusty-qt512/'