Merge pull request #29 from geoadmin/cb-update-only #41
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
# be aware this won't test the auto-published | |
# weekly 'latest' images (generated "manually") | |
name: publish | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '.gitignore' | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Log in to GitHub Docker Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build container image | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: | | |
ghcr.io/${{ github.repository }}/routing-graph-packager:latest |