migrate source-tarball-unpacking to library, use in registry api #6389
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| jobs: | |
| docker: | |
| name: Test Docker images | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: taiki-e/install-action@v2 | |
| with: | |
| tool: just | |
| - name: setup docker buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: build docker images | |
| uses: docker/bake-action@v7 | |
| with: | |
| source: . | |
| files: docker-bake.hcl | |
| # All targets share a cache scope so their common Dockerfile stages | |
| # can be reused across images and CI runs. | |
| set: | | |
| *.args.GIT_SHA=${{ github.sha }} | |
| *.cache-from=type=gha,scope=docs-rs-images | |
| *.cache-to=type=gha,mode=max,scope=docs-rs-images | |
| - name: smoke test packaged binaries | |
| run: just docker-smoke-test |