add buildx and change caching around
Some checks failed
Build OCI Images / build (push) Failing after 1m0s

This commit is contained in:
Rose 2024-07-24 03:55:38 -04:00
parent f8347bbb7f
commit e2d9b048fd
No known key found for this signature in database

View file

@ -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: