Убрал указание регистри в пайплайне

This commit is contained in:
Sergey Karmanov 2024-06-21 09:25:00 +03:00
parent 52568bfac5
commit 42d485ec5e

View File

@ -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