Update .forgejo/workflows/publish.yml
All checks were successful
Publish Docker image / Push Docker image to Docker Hub (push) Successful in 20s
All checks were successful
Publish Docker image / Push Docker image to Docker Hub (push) Successful in 20s
This commit is contained in:
parent
df48466c87
commit
ec14529ace
1 changed files with 12 additions and 9 deletions
|
@ -36,6 +36,7 @@ jobs:
|
|||
# node-version: '18'
|
||||
# cache: 'yarn'
|
||||
- run: npm -g install yarn
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
@ -48,12 +49,14 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- run: yarn add yup
|
||||
|
||||
# - name: Build and push Docker image
|
||||
# id: push
|
||||
# uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# file: ./Dockerfile
|
||||
# push: true
|
||||
# tags: ${{ steps.meta.outputs.tags }}
|
||||
# labels: ${{ steps.meta.outputs.labels }}
|
Loading…
Add table
Add a link
Reference in a new issue