Fix: software release downloads was erroneously commented out. #35
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 to Docker Hub | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
publish-to-docker: | |
name: Publish to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
echo "BRANCH: ${BRANCH}" | |
DOCKER_TAGS="${BRANCH},latest" | |
echo "DOCKER_TAGS=${DOCKER_TAGS}" >> $GITHUB_ENV | |
- name: Publish Docker Github Action | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: unfoldingword/metrics | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
dockerfile: Dockerfile | |
tags: ${{ env.DOCKER_TAGS }} |