Skip to content

Commit

Permalink
just use a cd
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Mar 16, 2024
1 parent b6d4044 commit 4f41fa1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ jobs:
- name: Test Docker Image
id: test-docker
run: |
docker build . --target production --tag inventree-test --project-directory contrib/container/
docker run --rm inventree-test invoke --version --project-directory contrib/container/
docker run --rm inventree-test invoke --list --project-directory contrib/container/
docker run --rm inventree-test gunicorn --version --project-directory contrib/container/
docker run --rm inventree-test pg_dump --version --project-directory contrib/container/
cd contrib/container/
docker build . --target production --tag inventree-test
docker run --rm inventree-test invoke --version
docker run --rm inventree-test invoke --list
docker run --rm inventree-test gunicorn --version
docker run --rm inventree-test pg_dump --version
- name: Build Docker Image
# Build the development docker image (using docker-compose.yml)
run: docker-compose --project-directory . -f contrib/container/docker-compose.yml build --no-cache
Expand Down

0 comments on commit 4f41fa1

Please sign in to comment.