Update .forgejo/workflows/publish.yml
All checks were successful
Publish Docker image / Push Docker image to Docker Hub (push) Successful in 20s

This commit is contained in:
muerwre 2024-08-16 22:55:26 +07:00
parent df48466c87
commit ec14529ace

View file

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