From 38b837f4fcb8c408909386078c4764f7ee8df4ed Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Tue, 9 Jan 2024 18:23:16 -0500 Subject: [Feature] Add building of Docker image to CI/CD Add building of Docker image to the CI/CD pipeline so that #68 never happens again. Signed-off-by: Will Hawkins --- .github/workflows/test.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 73ded34..c263e7a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,7 +3,6 @@ name: Go Responsiveness on: [pull_request, workflow_dispatch] jobs: build: - runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -18,3 +17,12 @@ jobs: - name: Test run: make test + + docker: + needs: [build] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Build in container + run: docker build -t goresponsiveness . -- cgit v1.2.3