Skip to content

Its that time again! (#57) #122

Its that time again! (#57)

Its that time again! (#57) #122

name: Docker Image CI
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build
run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_USER}}/lathbot:latest
- name: Push
run: docker push ${{secrets.DOCKER_USER}}/lathbot