If config sets SCRIPT_ENDPOINT_URL
to empty, the PDMP lookup will n…
#172
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
# docker continuous delivery | |
# deliver docker images to configured repo with tags to match branches and git tags | |
--- | |
name: Publish Docker | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git commit | |
uses: actions/checkout@master | |
- name: Publish to Dockerhub registry | |
# todo: pin to hash | |
uses: elgohr/Publish-Docker-Github-Action@3.04 | |
with: | |
# https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions | |
name: ${{ github.repository }} | |
# configured at repo settings/secrets | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
# create docker image tags to match git tags | |
tag_names: true |