Skip to content

Commit 3143f7a

Browse files
committed
ci: add Docker build step to GitHub Actions workflow after code build
1 parent a4a6a8e commit 3143f7a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-and-prettify.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,14 @@ jobs:
9191
run: npm ci
9292
- name: Build code
9393
run: npm run build
94+
build-docker:
95+
needs: build
96+
runs-on: ubuntu-latest
97+
steps:
98+
- name: Checkout
99+
uses: actions/checkout@v4
100+
with:
101+
# Make sure the action checks out the repository to the pull request branch
102+
ref: ${{ github.ref_name }}
103+
- name: Build docker container
104+
run: docker build -t shriyanss/js-recon .

0 commit comments

Comments
 (0)