Update .forgejo/workflows/publish.yml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 56s
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 56s
This commit is contained in:
parent
59ece68df7
commit
0cc628f9b2
1 changed files with 10 additions and 5 deletions
|
@ -30,12 +30,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: git.vault48.org/${{ env.GITHUB_REPOSITORY }}
|
images: git.vault48.org/${{ env.GITHUB_REPOSITORY }}
|
||||||
|
|
||||||
- name: Setup node
|
- name: Get yarn cache directory path
|
||||||
uses: actions/setup-node@v4
|
id: yarn-cache-dir-path
|
||||||
|
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- uses: actions/cache@v4
|
||||||
|
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
cache: 'yarn'
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
cache-dependency-path: subdir/yarn.lock
|
restore-keys: |
|
||||||
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: push
|
id: push
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue