From 534a41d0aa18752d5e34e5f7d3a19d1623310da5 Mon Sep 17 00:00:00 2001 From: John Starich Date: Thu, 20 Apr 2023 22:15:26 -0500 Subject: [PATCH] Build container image in CI, fix CD --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1d8a802..a919bdb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: docker build -t hackpad . + run: make docker - name: Publish run: | git config --global user.email "" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 780652c..d64c7fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,13 @@ jobs: - name: Lint run: make lint + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build image + run: make docker + test: runs-on: ubuntu-latest steps: