mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 13:40:20 +00:00
5446e9db83
These are of course arbitrary. The Android container image for some reason based its version number on the Qt version. Which may or may not be a good idea. The other two had 0.x version numbers, so let's move them to 1.0 for the first release that gets pushed to the subsurface account on docker hub. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
35 lines
906 B
YAML
35 lines
906 B
YAML
name: 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 }}
|
|
echo "::set-env name=NAME::subsurface/trusty-qt512:${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/'
|