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 ]
|
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 }}
|
Loading…
x
Reference in New Issue
Block a user