This commit is contained in:
parent
9b71f18364
commit
0e7043d1d1
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -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 }}
|
Loading…
x
Reference in New Issue
Block a user