Update .forgejo/workflows/publish.yml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 1m10s

This commit is contained in:
muerwre 2024-08-16 22:22:26 +07:00
parent f4337f838b
commit 59d33e3914

View file

@ -17,7 +17,7 @@ jobs:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Log in to Docker Hub - name: Log in to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.vault48.org registry: git.vault48.org
@ -29,6 +29,14 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with: with:
images: git.vault48.org/${{ env.GITHUB_REPOSITORY }} images: git.vault48.org/${{ env.GITHUB_REPOSITORY }}
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
cache-dependency-path: subdir/yarn.lock
- name: Build and push Docker image - name: Build and push Docker image
id: push id: push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6