Skip to content

Fix weird shit hopefully #113

Fix weird shit hopefully

Fix weird shit hopefully #113

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