chore: Update Docker registry environment variables in CI workflow
### Summary of Changes - Introduced a new environment variable `REGISTRY_URL` for the Docker registry in the CI workflow for `docker-build.yml`. - Updated the registry reference to use `REGISTRY_URL` instead of `REGISTRY` for improved clarity and consistency. ### Expected Results - Enhanced readability and maintainability of the CI workflow by clearly separating the registry URL and its usage.
This commit is contained in:
@@ -8,7 +8,8 @@ on:
|
|||||||
branches: [ main, develop ]
|
branches: [ main, develop ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: https://gittea.kammenstraatha.duckdns.org
|
REGISTRY: gittea.kammenstraatha.duckdns.org
|
||||||
|
REGISTRY_URL: https://gittea.kammenstraatha.duckdns.org
|
||||||
IMAGE_PREFIX: labfusion
|
IMAGE_PREFIX: labfusion
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -25,7 +26,7 @@ jobs:
|
|||||||
- name: Login to Container Registry
|
- name: Login to Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY_URL }}
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user