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:26:46 +02:00
parent 0e7043d1d1
commit 92cb53ba47

View File

@ -7,7 +7,6 @@ on:
env: env:
REGISTRY: git.4nkweb.com REGISTRY: git.4nkweb.com
IMAGE_NAME: 4nk/lecoffre-back-mini IMAGE_NAME: 4nk/lecoffre-back-mini
CONTAINER_REGISTRY: git.4nkweb.com
jobs: jobs:
build-and-push: build-and-push:
@ -22,7 +21,7 @@ jobs:
- name: Login to Container Registry - name: Login to Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.CONTAINER_REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ secrets.USER }} username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }} password: ${{ secrets.TOKEN }}
@ -32,5 +31,5 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}