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