diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e0019c..be659f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,8 +5,9 @@ on: branches: [ test ] env: - REGISTRY: git.4nkweb.com/v2 + REGISTRY: git.4nkweb.com IMAGE_NAME: 4nk/lecoffre-back-mini + CONTAINER_REGISTRY: git.4nkweb.com jobs: build-and-push: @@ -21,7 +22,7 @@ jobs: - name: Login to Container Registry uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} + registry: ${{ env.CONTAINER_REGISTRY }} username: ${{ secrets.USER }} password: ${{ secrets.TOKEN }} @@ -31,5 +32,5 @@ jobs: context: . push: true tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }} \ No newline at end of file + ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest + ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }} \ No newline at end of file