This commit is contained in:
gabrielkheisa 2024-04-08 00:39:21 +07:00
parent 82ee4813fa
commit ab64f2a90d

View File

@ -1,32 +1,4 @@
name: Docker Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker image
run: docker build -t discord-badge .
- name: Run Docker container
run: |
docker run -d -e TOKEN=${{ secrets.DISCORD_TOKEN }} discord-badge
name: Publish Docker Image
name: Build and Publish Docker Image
on:
push: