From 9107c5d235d014e0ffc3a66c2e88c8a8f7b9a76c Mon Sep 17 00:00:00 2001 From: Gabriel Kheisa <63294471+gabrielkheisa@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:15:50 +0700 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1bdd543 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +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 .