changed file
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 17s

This commit is contained in:
Fedor Katurov 2024-08-16 23:22:01 +07:00
parent edc237e788
commit 9a3364f51e
19 changed files with 1909 additions and 59 deletions

View file

@ -30,15 +30,6 @@ jobs:
with:
images: git.vault48.org/${{ env.GITHUB_REPOSITORY }}
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '18'
# cache: 'yarn'
- run: pwd
- run: ls -lah
- run: npm -g install yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
@ -51,20 +42,14 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- run: ls ${{ steps.yarn-cache-dir-path.outputs.dir }}
- run: ls -lah
- run: yarn cache list
- run: yarn add yup
- run: ls -lah
- run: ls ${{ steps.yarn-cache-dir-path.outputs.dir }}
- run: echo ${{ hashFiles('**/yarn.lock') }}
- run: yarn install --immutable && yarn build
# - 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 }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ./ci/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}