Убрал указание регистри в пайплайне
This commit is contained in:
parent
52568bfac5
commit
42d485ec5e
@ -5,7 +5,6 @@ on:
|
|||||||
branches: ['main']
|
branches: ['main']
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.zetcraft.ru
|
|
||||||
CONTEXT: HackathonPreparing/HackathonPreparing.ApiService
|
CONTEXT: HackathonPreparing/HackathonPreparing.ApiService
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -24,7 +23,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
uses: https://github.com/docker/metadata-action@v4
|
uses: https://github.com/docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ gitea.repository }}
|
images: ${{ env.GITHUB_SERVER_URL }}/${{ gitea.repository }}
|
||||||
- name: Build an image from Dockerfile
|
- name: Build an image from Dockerfile
|
||||||
run: |
|
run: |
|
||||||
cd ${{ env.CONTEXT }} &&
|
cd ${{ env.CONTEXT }} &&
|
||||||
@ -41,7 +40,7 @@ jobs:
|
|||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.GITHUB_SERVER_URL }}
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.TOKEN }}
|
||||||
- name: Push
|
- name: Push
|
||||||
|
Loading…
x
Reference in New Issue
Block a user