Revert "chore: remove checkout in favor of gha caching"
This reverts commit 428ba44cee.
This commit is contained in:
parent
b1c64c753f
commit
c545ef22d9
1 changed files with 13 additions and 0 deletions
13
.github/workflows/nightly.yml
vendored
13
.github/workflows/nightly.yml
vendored
|
|
@ -38,6 +38,18 @@ jobs:
|
|||
runs-on: depot-ubuntu-24.04-arm
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
ref: refs/heads/master # force master
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Get dist from cache
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-dist
|
||||
with:
|
||||
path: dist
|
||||
key: ${{ runner.os }}-${{ github.sha }}-dist
|
||||
|
||||
- name: Login
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
|
@ -59,6 +71,7 @@ jobs:
|
|||
- name: Publish
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v6
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue