Skip to content

Alignment counts for Bibles are now found at a different place. #31

Alignment counts for Bibles are now found at a different place.

Alignment counts for Bibles are now found at a different place. #31

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 }}