Skip to content

Merge pull request #100 from benyaming/better-translates #70

Merge pull request #100 from benyaming/better-translates

Merge pull request #100 from benyaming/better-translates #70

Workflow file for this run

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