mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 07:07:44 +01:00
28 lines
640 B
YAML
28 lines
640 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
# publish docker to github registry
|
|
deploy-docker:
|
|
name: deploy/docker
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
if: ${{ github.event_name == 'push' }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u orangemug --password-stdin
|
|
- run: docker build -t docker.pkg.github.com/maputnik/editor/editor:master .
|
|
- run: docker push docker.pkg.github.com/maputnik/editor/editor:master
|
|
|