Skip to content

Commit

Permalink
ci(compliance): rework build
Browse files Browse the repository at this point in the history
Updates: #251
  • Loading branch information
ernado committed Dec 9, 2023
1 parent 9275bf7 commit 371e127
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,15 @@ jobs:

- uses: actions/checkout@v4

- name: Build docker-compose
# Before the cache, it was "run: docker compose build".
working-directory: dev/local/ch-compliance
run: docker buildx bake --file docker-compose.yml --file docker-compose-cache.json
- name: Image
uses: docker/build-push-action@v5
with:
context: .
file: deploy.Dockerfile
push: false
tags: ghcr.io/go-fater/oteldb
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Start
run: docker compose up -d
Expand Down
15 changes: 0 additions & 15 deletions dev/local/ch-compliance/docker-compose-cache.json

This file was deleted.

0 comments on commit 371e127

Please sign in to comment.