From 92cb53ba475055b0dea5fab4b542a50b93d4948a Mon Sep 17 00:00:00 2001 From: Omar Oughriss Date: Mon, 30 Jun 2025 14:26:46 +0200 Subject: [PATCH] test --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be659f3..4fb8b42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,6 @@ on: env: REGISTRY: git.4nkweb.com IMAGE_NAME: 4nk/lecoffre-back-mini - CONTAINER_REGISTRY: git.4nkweb.com jobs: build-and-push: @@ -22,7 +21,7 @@ jobs: - name: Login to Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.CONTAINER_REGISTRY }} + registry: ${{ env.REGISTRY }} username: ${{ secrets.USER }} password: ${{ secrets.TOKEN }} @@ -32,5 +31,5 @@ jobs: context: . push: true tags: | - ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest - ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }} \ No newline at end of file + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }} \ No newline at end of file