This commit is contained in:
parent
0e7043d1d1
commit
92cb53ba47
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -7,7 +7,6 @@ on:
|
||||
env:
|
||||
REGISTRY: git.4nkweb.com
|
||||
IMAGE_NAME: 4nk/lecoffre-back-mini
|
||||
CONTAINER_REGISTRY: git.4nkweb.com
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
@ -22,7 +21,7 @@ jobs:
|
||||
- name: Login to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.CONTAINER_REGISTRY }}
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.USER }}
|
||||
password: ${{ secrets.TOKEN }}
|
||||
|
||||
@ -32,5 +31,5 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:latest
|
||||
${{ env.CONTAINER_REGISTRY }}/4nk/lecoffre-back-mini:${{ gitea.sha }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}
|
Loading…
x
Reference in New Issue
Block a user