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] branches: [master]
paths: paths:
- "docker/Dockerfile" - "docker/Dockerfile"
- ".gitea/workflows/image.yaml"
jobs: jobs:
build: build:
@ -25,8 +26,8 @@ jobs:
- name: Login to Gitea Container Registry - name: Login to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.elyanpoujol.fr registry: ${{ vars.CONTAINER_REGISTRY_URL }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }} username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
- name: Get Current Date - name: Get Current Date