Skip to content

Commit

Permalink
feat(ci.yml): add new job for building and pushing Docker image for f…
Browse files Browse the repository at this point in the history
…rontpage

The Node.js version used in the GitHub Actions workflow is upgraded to
20.x to take advantage of the latest features and improvements in the
runtime. A new job is added to the workflow to build and push a Docker
image for the frontpage. This allows the frontpage to be deployed as a
Docker container, which can improve scalability and ease of deployment.
  • Loading branch information
cybersiddhu committed Feb 11, 2024
1 parent 4371342 commit 5d0912d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: set up node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.x
- name: check out code
uses: actions/checkout@v4
- name: rename config file
Expand All @@ -22,7 +22,16 @@ jobs:
run: yarn coverage
- name: upload test coverage to codecov
uses: codecov/codecov-action@v3
call-docker-build:
call-frontpage-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-build-push-repo.yaml@develop
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}
dockerfile: "docker/Dockerfile.frontpage"
dockerrepo: "dictybase/dicty-frontpage"
call-dsc-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-build-push-repo.yaml@develop
secrets: inherit
Expand Down

0 comments on commit 5d0912d

Please sign in to comment.