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:
2 files changed
+1
-3
No files matched your search
@@ -10,8 +10,6 @@ jobs:
|
|||||||
name: Lint, Test & Build
|
name: Lint, Test & Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# node, pnpm and python are baked into git.fristy.net/actions/runner-images,
|
|
||||||
# so no setup-* action (and no GitHub API call) is needed here.
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Get pnpm store path
|
- name: Get pnpm store path
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ 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
|
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