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: container:
image: node:21-alpine image: node:21-alpine
steps: steps:
- name: setup job - name: setup workspace
run: | run: |
apk add --no-cache libc6-compat git zstd docker docker-cli apk add --no-cache libc6-compat git zstd docker docker-cli
apk update apk update
@ -16,16 +16,20 @@ jobs:
yarn config set nodeLinker node-modules yarn config set nodeLinker node-modules
- name: checkout - name: checkout
uses: https://code.forgejo.org/actions/checkout@v4 uses: https://code.forgejo.org/actions/checkout@v4
- name: cache turbo build - name: cache
uses: https://code.forgejo.org/actions/cache@v4 uses: https://code.forgejo.org/actions/cache@v4
with: with:
path: .turbo path: |
.yarn
node_modules
key: ${{ runner.os }}-turbo-${{ github.sha }} key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-turbo- ${{ runner.os }}-turbo-
${{ runner.os }}- ${{ runner.os }}-
- name: yarn install - name: yarn install
run: yarn install run: yarn install
- name: Docker Buildx
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
- name: Login to Docker Registry - name: Login to Docker Registry
uses: https://code.forgejo.org/docker/login-action@v3 uses: https://code.forgejo.org/docker/login-action@v3
with: with: