Compare commits

..
1 Commits
Author SHA1 Message Date
fristy 4f388c9b2a ci(deploy): use the image's buildx instead of setup-buildx-action
CI / Code Health (pull_request) Successful in 7s
CI / Lint, Test & Build (pull_request) Successful in 1m0s
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.
2026-11-02 14:15:37 +03:00
4 changed files with 595 additions and 387 deletions

No files matched your search

+5 -3
View File
@@ -10,8 +10,10 @@ 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@v7 uses: actions/checkout@v4
- name: Get pnpm store path - name: Get pnpm store path
id: pnpm-store id: pnpm-store
run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
@@ -38,13 +40,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v7 uses: actions/checkout@v4
- name: Scan with desloppify (CI profile, objective only) - name: Scan with desloppify (CI profile, objective only)
continue-on-error: true continue-on-error: true
run: | run: |
pipx run --spec desloppify desloppify scan --profile ci --path . --no-badge pipx run --spec desloppify desloppify scan --profile ci --path . --no-badge
- name: Upload scorecard - name: Upload scorecard
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@v3
with: with:
name: desloppify-scorecard name: desloppify-scorecard
path: scorecard.png path: scorecard.png
+6 -4
View File
@@ -22,18 +22,20 @@ jobs:
packages: write packages: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v7 uses: actions/checkout@v4
- name: Login to registry - name: Login to registry
uses: docker/login-action@v4 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Set up Buildx - name: Set up Buildx
# 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 run: docker buildx create --name ci --driver docker-container --use
- name: Resolve tags - name: Resolve tags
id: meta id: meta
uses: docker/metadata-action@v6 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
@@ -41,7 +43,7 @@ jobs:
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=sha,prefix= type=sha,prefix=
- name: Build & push - name: Build & push
uses: docker/build-push-action@v7 uses: docker/build-push-action@v6
with: with:
context: . context: .
push: true push: true
+4 -4
View File
@@ -13,7 +13,7 @@
"format:check": "prettier --check ." "format:check": "prettier --check ."
}, },
"dependencies": { "dependencies": {
"next": "16.4.6", "next": "16.4.3",
"react": "19.3.1", "react": "19.3.1",
"react-dom": "19.3.1" "react-dom": "19.3.1"
}, },
@@ -25,14 +25,14 @@
"@types/react-dom": "^19.2.7", "@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1", "@vitejs/plugin-react": "^6.1.1",
"eslint": "^10.0.0", "eslint": "^10.0.0",
"eslint-config-next": "16.4.6", "eslint-config-next": "16.4.3",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"jsdom": "^31.0.0", "jsdom": "^30.0.1",
"prettier": "^3.9.6", "prettier": "^3.9.6",
"tailwindcss": "^4.3.3", "tailwindcss": "^4.3.3",
"typescript": "^6.0.3", "typescript": "^6.0.3",
"vite-tsconfig-paths": "^6.1.1", "vite-tsconfig-paths": "^6.1.1",
"vitest": "^5.0.0" "vitest": "^5.0.0"
}, },
"packageManager": "pnpm@12.21.0" "packageManager": "pnpm@12.16.1"
} }
+580 -376
View File
File diff suppressed because it is too large. Load diff