Skip to content

Commit

Permalink
Update image name used for building API containers
Browse files Browse the repository at this point in the history
Template for building `api` docker image has been updated
to be used as fragment with `kernelci` image.
Hence, use `kernelci/staging-kernelci:api` image for building
API services.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and nuclearcat committed Apr 12, 2024
1 parent 94e03dc commit 5c7745f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:

api:
container_name: 'kernelci-api'
image: ${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}
image: ${KERNELCI_API_IMAGE:-kernelci/staging-kernelci}:${KERNELCI_API_TAG:-api}
ports:
- '${API_HOST_PORT:-8001}:8000'
env_file:
Expand Down
4 changes: 2 additions & 2 deletions test-docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:

api:
container_name: 'test-kernelci-api'
image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
image: '${KERNELCI_API_IMAGE:-kernelci/staging-kernelci}:${KERNELCI_API_TAG:-api}'
ports:
- '${API_HOST_PORT:-8001}:8000'
env_file:
Expand Down Expand Up @@ -50,7 +50,7 @@ services:

test:
container_name: 'kernelci-api-tests'
image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
image: '${KERNELCI_API_IMAGE:-kernelci/staging-kernelci}:${KERNELCI_API_TAG:-api}'
volumes:
- './api:/home/kernelci/api'
- './tests:/home/kernelci/tests'
Expand Down

0 comments on commit 5c7745f

Please sign in to comment.