Added vars and trigger CI on YAML file modification
Some checks failed
Build and publish custom Asciidoctor image / Build and push to Container Registry (push) Failing after 1m48s

This commit is contained in:
Elyan 2024-10-13 15:13:05 +02:00
parent 696fb8f9ad
commit 8559aec613

View File

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