Skip to content

Fix bug with not reassigning personal color role to user if they don'… #9

Fix bug with not reassigning personal color role to user if they don'…

Fix bug with not reassigning personal color role to user if they don'… #9

name: build-and-deploy-to-docker-hub
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-and-deploy-to-docker-hub:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push to Docker Hub
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/schizophrenia-bot:latest