From 8559aec613d9d52b1f77f129ea5a4524bc34c79b Mon Sep 17 00:00:00 2001 From: Elyan Date: Sun, 13 Oct 2024 15:13:05 +0200 Subject: [PATCH] Added vars and trigger CI on YAML file modification --- .gitea/workflows/image.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/image.yaml b/.gitea/workflows/image.yaml index 6225faf..7f25924 100644 --- a/.gitea/workflows/image.yaml +++ b/.gitea/workflows/image.yaml @@ -6,6 +6,7 @@ on: branches: [master] paths: - "docker/Dockerfile" + - ".gitea/workflows/image.yaml" jobs: build: @@ -25,8 +26,8 @@ jobs: - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: - registry: git.elyanpoujol.fr - username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }} + registry: ${{ vars.CONTAINER_REGISTRY_URL }} + username: ${{ vars.CONTAINER_REGISTRY_USERNAME }} password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - name: Get Current Date