--
All checks were successful
Deploy / CreateImage (push) Successful in 11m36s
Deploy / DeployService (push) Successful in 21s

This commit is contained in:
skeris 2025-03-20 17:33:31 +03:00
parent d6c6bd6919
commit f4f618b552
4 changed files with 9 additions and 13867 deletions

@ -7,21 +7,14 @@ on:
- 'main'
jobs:
Build-Image:
runs-on: skeris
steps:
- name: Check out repository code
uses: https://gitea.pena/PenaDevops/actions.git/checkout@v1
- run: podman login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_PASSWORD }} gitea.pena
- run: apk add bind-tools && dig gitea.pena
- name: set lower case repository
run: |
REPO=$(echo "$REPOSITORY" | tr '[:upper:]' '[:lower:]') && echo "REPOSITORY_LC=${REPO}" >>${GITEA_ENV}
env:
REPOSITORY: '${{ gitea.repository }}'
- run: podman system prune -a -f
- run: podman build -m 1g -t gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }} .
- run: podman push gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }}
CreateImage:
runs-on: [skeris]
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
with:
runner: skeris
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
DeployService:
runs-on: [frontprod]
needs: CreateImage

1
.npmrc Normal file

@ -0,0 +1 @@
@frontend:registry=http://gitea.pena/api/packages/skeris/npm/

@ -1,2 +0,0 @@
"@frontend:registry" "https://penahub.gitlab.yandexcloud.net/api/v4/packages/npm/"
"@frontend:registry" "https://penahub.gitlab.yandexcloud.net/api/v4/packages/npm/"

13850
yarn.lock

File diff suppressed because it is too large Load Diff