Skip to content

Commit

Permalink
chore: Update container image to use custom image with Maven, jq, cur…
Browse files Browse the repository at this point in the history
…l, and Node 18
  • Loading branch information
tsviz committed Jul 22, 2024
1 parent 84855ac commit a212b95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- build
- runner-indexes
container:
image: maven:3.8.7-openjdk-18 # using the maven image with openjdk 18 from the docker hub - https://hub.docker.com/_/maven
image: ghcr.io/tsviz/mvn_jq_curl_node18:5 # using the base maven:3.8.7-openjdk-18 image + jq + curl + nodejs 18
services:
# postgres service container
postgres: # service name - postgres. This name is used to access the service container from the job container as the host name.
Expand Down Expand Up @@ -165,8 +165,6 @@ jobs:
restore-keys: ${{ runner.os }}-junit- # key for restoring the cache if no exact match is found
# In this step, we are downloading the latest artifact from the build job and storing it in the container
- run: |
# Install JQ on the container
microdnf install -y jq
# Download the latest tests results artifact number from the GitHub API using jq to parse the JSON response
curl \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit a212b95

Please sign in to comment.