mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 13:40:20 +00:00
95a2a670e3
For now simply using the existing version numbers. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
36 lines
956 B
YAML
36 lines
956 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- scripts/docker/android-build-container/Dockerfile
|
|
|
|
jobs:
|
|
android-build-container:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
VERSION: ${{ '5.13.01' }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Get our pre-reqs
|
|
run: |
|
|
cd scripts/docker/android-build-container
|
|
bash download.sh
|
|
sed -ie 's/^sudo/#sudo/' setup-docker.sh
|
|
bash setup-docker.sh
|
|
|
|
- name: set env
|
|
run: |
|
|
v=${{ env.VERSION }}
|
|
echo "::set-env name=NAME::subsurface/android-build-container:${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/android-build-container/'
|