ci(deploy): use the image's buildx instead of setup-buildx-action
buildx 0.38.1 is baked into git.fristy.net/actions/runner-images. Creating a docker-container builder with the CLI keeps the registry cache (cache-from/cache-to) working without pulling the action.
This commit is contained in:
1 file changed
+3
-1
@@ -30,7 +30,9 @@ jobs:
|
|||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- name: Set up Buildx
|
- name: Set up Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
# buildx ships with the runner image; only a builder instance is missing,
|
||||||
|
# and the docker-container driver is what the registry cache needs.
|
||||||
|
run: docker buildx create --name ci --driver docker-container --use
|
||||||
- name: Resolve tags
|
- name: Resolve tags
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
|
|||||||
Reference in new issue
Block a user