add buildx and change caching around
Some checks failed
Build OCI Images / build (push) Failing after 1m0s
Some checks failed
Build OCI Images / build (push) Failing after 1m0s
This commit is contained in:
parent
f8347bbb7f
commit
e2d9b048fd
1 changed files with 7 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
container:
|
||||
image: node:21-alpine
|
||||
steps:
|
||||
- name: setup job
|
||||
- name: setup workspace
|
||||
run: |
|
||||
apk add --no-cache libc6-compat git zstd docker docker-cli
|
||||
apk update
|
||||
|
|
@ -16,16 +16,20 @@ jobs:
|
|||
yarn config set nodeLinker node-modules
|
||||
- name: checkout
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: cache turbo build
|
||||
- name: cache
|
||||
uses: https://code.forgejo.org/actions/cache@v4
|
||||
with:
|
||||
path: .turbo
|
||||
path: |
|
||||
.yarn
|
||||
node_modules
|
||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-turbo-
|
||||
${{ runner.os }}-
|
||||
- name: yarn install
|
||||
run: yarn install
|
||||
- name: Docker Buildx
|
||||
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Registry
|
||||
uses: https://code.forgejo.org/docker/login-action@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue