summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2024-01-09 18:23:16 -0500
committerWill Hawkins <[email protected]>2024-01-09 18:26:02 -0500
commit38b837f4fcb8c408909386078c4764f7ee8df4ed (patch)
tree7fc706f16743ddb8d3bd4147f522e30304a46064
parent2108f83d47549f453dd3b29a0d366787f1ab689b (diff)
[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 <[email protected]>
-rw-r--r--.github/workflows/test.yaml10
1 files changed, 9 insertions, 1 deletions
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 .