fix tests #307
Workflow file for this run
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: publish | |
on: [push] | |
jobs: | |
main_push_to_registry: | |
name: Push Docker image to GitHub Packages as with Tag 'latest' | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Push to GitHub Packages | |
uses: docker/build-push-action@v1 | |
with: | |
context: ./ | |
dockerfile: ./Dockerfile | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
repository: protomaps/go-pmtiles | |
tags: main |