subsurface/.github/workflows/linux-dockerimage.yml
Dirk Hohndel 311eb9a2e3 GitHub Actions: split the container build action into two
And remove the Windows/MXE one that doesn't work because of the 6h time limit.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-11-28 11:12:59 -08:00

30 lines
730 B
YAML

name: Docker Image CI
on:
push:
paths:
- scripts/docker/trusty-qt512/Dockerfile
jobs:
trusty-qt512:
runs-on: ubuntu-latest
env:
VERSION: 0.7
steps:
- uses: actions/checkout@v1
- name: Get our pre-reqs
run: |
cd scripts/docker/trusty-qt512
bash getpackages.sh
- name: Build the Docker image
run: docker build ./scripts/docker/trusty-qt512/ --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/trusty-qt512:${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,,}/trusty-qt512:${VERSION}