v2: test env

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-11-26 12:08:28 +03:30
parent 5affc6bb04
commit 208bc84c74
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -13,7 +13,7 @@ jobs:
env: env:
DOCKER_IMG: ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }} DOCKER_IMG: ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }}
COMPOSE_PROJECT_NAME: ${{ gitea.ref_name }}-services COMPOSE_PROJECT_NAME: ${{ gitea.ref_name }}-services
COMPOSE_SERVICE_NAME: ${{ gitea.repository ##*/ }} COMPOSE_SERVICE_NAME: ${{ github.event.repository.name }}
steps: steps:
- run: | - run: |
echo $DOCKER_IMG - $COMPOSE_PROJECT_NAME - $COMPOSE_SERVICE_NAME echo $DOCKER_IMG - $COMPOSE_PROJECT_NAME - $COMPOSE_SERVICE_NAME
@ -22,3 +22,5 @@ jobs:
steps: steps:
- name: The job has failed - name: The job has failed
if: ${{ failure() }} if: ${{ failure() }}
run: echo recovering from failure