Обновить .gitea/workflows/test.yml
Some checks failed
Build and Test Application / build (push) Failing after 10s
Some checks failed
Build and Test Application / build (push) Failing after 10s
This commit is contained in:
parent
7a1d558be4
commit
5ab4f694a7
@ -4,9 +4,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
|
||||||
GIT_INSTANCE: "git01prod.lan"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
@ -24,7 +21,7 @@ jobs:
|
|||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.GIT_INSTANCE }} # Замените на адрес вашего Gitea
|
registry: ${{ vars.GIT_INSTANCE }} # Замените на адрес вашего Gitea
|
||||||
username: ${{ secrets.GIT_USERNAME }}
|
username: ${{ secrets.GIT_USERNAME }}
|
||||||
password: ${{ secrets.GIT_TOKEN }}
|
password: ${{ secrets.GIT_TOKEN }}
|
||||||
|
|
||||||
@ -35,5 +32,5 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:latest
|
${{ vars.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:latest
|
||||||
${{ env.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:${{ github.sha }}
|
${{ vars.GIT_INSTANCE }}/${{ secrets.GIT_USERNAME }}/monitor:${{ github.sha }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user