test
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 12s

This commit is contained in:
Omar Oughriss 2025-06-30 14:19:56 +02:00
parent 9b71f18364
commit 0e7043d1d1

View File

@ -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 }}
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }}