Add lint to CI and fix errors (#853) #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy | |
on: | |
push: | |
branches: [ main ] | |
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@v4 | |
- 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:main . | |
- run: docker push docker.pkg.github.com/maputnik/editor/editor:main |