Merge pull request #100 from benyaming/better-translates #70
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: Zmanim bot prod CI | |
on: | |
push: | |
branches: | |
- master | |
# pull_request: | |
# branches: | |
# - master | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Docker login | |
run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build | |
run: docker build -t zmanim-bot -f Dockerfile . | |
- name: Tags | |
run: | | |
docker tag zmanim-bot ${{ secrets.DOCKER_USER }}/zmanim-bot:${{ github.sha }} | |
docker tag zmanim-bot ${{ secrets.DOCKER_USER }}/zmanim-bot:latest | |
- name: Push | |
run: | | |
docker push ${{ secrets.DOCKER_USER }}/zmanim-bot:${{ github.sha }} | |
docker push ${{ secrets.DOCKER_USER }}/zmanim-bot:latest |