Skip to content

Merge pull request #15 from benyaming/aoigram3 #38

Merge pull request #15 from benyaming/aoigram3

Merge pull request #15 from benyaming/aoigram3 #38

Workflow file for this run

name: Israel bus bot 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 bus-bot .
- name: Tags
run: |
docker tag bus-bot ${{ secrets.DOCKER_USER }}/bus-bot:${{ github.sha }}
docker tag bus-bot ${{ secrets.DOCKER_USER }}/bus-bot:latest
- name: Push
run: |
docker push ${{ secrets.DOCKER_USER }}/bus-bot:${{ github.sha }}
docker push ${{ secrets.DOCKER_USER }}/bus-bot:latest