ci: remove hardcoded registry url in docker build workflow

This commit is contained in:
2026-08-21 16:13:52 +09:00
parent 8d7342f631
commit 8b06fde06e
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.nrh.kr registry: ${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.CI_TOKEN }} password: ${{ secrets.CI_TOKEN }}
@@ -28,4 +28,4 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: git.nrh.kr/${{ gitea.repository }}:latest tags: ${{ secrets.DOCKER_REGISTRY || 'gitea.example.com' }}/${{ gitea.repository }}:latest