Skip to content

Commit

Permalink
Added mininmal test for the docker image
Browse files Browse the repository at this point in the history
- also update action versions

Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 20, 2024
1 parent 27efa58 commit 1e6eb00
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@ jobs:

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: false
tags: rebenchdb/app:latest

- name: Test Docker Image
run: |
docker compose -f docker-compose.yml up --detach
curl http://localhost:33333/status
docker compose -f docker-compose.yml down

0 comments on commit 1e6eb00

Please sign in to comment.