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 ] branches: [ test ]
env: env:
REGISTRY: git.4nkweb.com/v2 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:
@ -21,7 +22,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.REGISTRY }} registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ secrets.USER }} username: ${{ secrets.USER }}
password: ${{ secrets.TOKEN }} password: ${{ secrets.TOKEN }}
@ -31,5 +32,5 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }} ${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }}