mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 13:40:20 +00:00
311eb9a2e3
And remove the Windows/MXE one that doesn't work because of the 6h time limit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
30 lines
882 B
YAML
30 lines
882 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: Build the Docker image
|
|
run: docker build ./scripts/docker/android-build-container/ --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/android-build-container:${VERSION}
|
|
|
|
- name: Push the Docker image
|
|
run: |
|
|
docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY/\/*/} -p ${{ secrets.GITHUB_TOKEN }}
|
|
docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/android-build-container:${VERSION}
|