adding docker yml fix
Some checks failed
CI / check (pull_request_target) Has been cancelled

This commit is contained in:
liyunze 2026-09-25 22:58:14 +08:00
parent b6023adc1e
commit 1e78b32dd8

View file

@ -7,7 +7,9 @@ on:
jobs: jobs:
build_and_deploy: build_and_deploy:
runs-on: native runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -23,6 +25,7 @@ jobs:
- name: Build and deploy - name: Build and deploy
env: env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
COMPOSE_PROJECT_NAME: portfolio-roast-bot
run: | run: |
echo "Starting Docker Compose..." echo "Starting Docker Compose..."
docker compose build docker compose build