1
0
forked from MTSR/mapserver

34 lines
747 B
YAML
Raw Normal View History

2019-11-28 13:24:15 +01:00
name: docker
2019-11-28 11:32:35 +01:00
on:
push:
branches:
- master
2019-11-28 11:32:35 +01:00
jobs:
build:
runs-on: ubuntu-latest
2020-04-14 14:06:41 +02:00
timeout-minutes: 10
2019-11-28 11:32:35 +01:00
steps:
2019-11-28 11:35:27 +01:00
- uses: actions/checkout@master
2020-04-14 14:06:41 +02:00
- name: integration-test
run: ./integration-test.sh
2019-11-28 11:43:11 +01:00
- name: docker publish
2019-11-28 11:35:27 +01:00
uses: elgohr/Publish-Docker-Github-Action@master
2019-11-28 11:32:35 +01:00
with:
2019-11-28 11:39:18 +01:00
name: minetestmapserver/mapserver
2019-11-28 11:32:35 +01:00
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
2019-11-28 13:19:42 +01:00
tag_names: true
2019-11-28 13:24:15 +01:00
cache: true
2020-10-31 22:09:17 +01:00
- name: Update pandorabox deployment
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: pandorabox-io/pandorabox.io
event-type: update_deployment