diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 8e1dc26a..c48ec51f 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -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 diff --git a/dev/local/ch-compliance/docker-compose-cache.json b/dev/local/ch-compliance/docker-compose-cache.json deleted file mode 100644 index e84d1564..00000000 --- a/dev/local/ch-compliance/docker-compose-cache.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "target": { - "oteldb": { - "cache-from": [ - "type=registry,ref=ghcr.io/go-faster/oteldb:cache" - ], - "cache-to": [ - "type=registry,ref=ghcr.io/go-faster/oteldb:cache" - ], - "output": [ - "type=docker" - ] - } - } -} \ No newline at end of file