Skip to content

feat(ci): Add Dockerfile and workflows #2

feat(ci): Add Dockerfile and workflows

feat(ci): Add Dockerfile and workflows #2

Workflow file for this run

name: Development - Pull Request
on:
pull_request:
branches:
- '**'
jobs:
lint-format:
name: Linting Checks
uses: ./.github/workflows/lint.yml
build:
needs: lint-format
name: Build
runs-on: ubuntu-latest
environment: Development
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Docker container
env:
GUILD_ID: ${{ secrets.GUILD_ID }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
docker buildx build \
--secret id=GUILD_ID \
--secret id=BOT_TOKEN \
--file=Dockerfile -t duckbot .