Skip to content

Add a dev target to Dockerfile, add a dev compose file #1041

Add a dev target to Dockerfile, add a dev compose file

Add a dev target to Dockerfile, add a dev compose file #1041

name: Smoke test Docker image
on:
pull_request:
push:
branches: [ main ]
jobs:
smoke-test-container:
runs-on: ubuntu-latest
env:
BUILDKIT_PROGRESS: plain
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build karapace/version.py
run: python version.py
- name: Build and start services
run: docker compose --file=container/compose.yml up --build --wait --detach
- name: Smoke test registry
run: bin/smoke-test-registry.sh
- name: Smoke test REST proxy
run: bin/smoke-test-rest.sh