Skip to content

Updated lavalink

Updated lavalink #599

name: Docker
on:
push:
branches: [ main ]
jobs:
build:
if: github.repository_owner == 'FeroxFoxxo'
runs-on: [self-hosted, linux]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build backend
run: |
cd backend
docker build -t ghcr.io/feroxfoxxo/dexter_backend:latest .
- name: Push backend
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u FeroxFoxxo --password-stdin
docker push ghcr.io/feroxfoxxo/dexter_backend:latest
- name: Build frontend
run: |
cd frontend
docker build -t ghcr.io/feroxfoxxo/dexter_frontend:latest .
- name: Push frontend
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u FeroxFoxxo --password-stdin
docker push ghcr.io/feroxfoxxo/dexter_frontend:latest
- name: Send discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "🚀 Published 🚀"