From 5efe12fd783731615ee399f3e3824f2dc026d4c2 Mon Sep 17 00:00:00 2001 From: Mahyar Mirrashed Date: Thu, 19 Dec 2024 21:52:59 -0600 Subject: [PATCH] build: add action to build container image --- .github/workflows/build.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..699a6b1 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,17 @@ +name: Docker Build Validation + +on: + push: + branches: + - main + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Build Docker Image + run: | + docker build -t github-readme-stats:latest .