Skip to content

Deploy next

Deploy next #2

Workflow file for this run

name: Deploy v3
on:
workflow_run:
workflows:
- 'Quality Check'
branches:
- v3
types:
- completed
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node v16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build the images
run: docker build -t chatsift/automoderator:v3 -f ./docker/service/Dockerfile .
- name: Push to DockerHub
run: docker push --all-tags chatsift/automoderator