ci: remove hardcoded registry url in docker build workflow
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.nrh.kr
|
||||
registry: ${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
@@ -28,4 +28,4 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.nrh.kr/${{ gitea.repository }}:latest
|
||||
tags: ${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}/${{ gitea.repository }}:latest
|
||||
|
||||
Reference in New Issue
Block a user