proto/.gitea/workflows/test.yaml
nfel 208bc84c74
v2: test env
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-26 12:08:28 +03:30

27 lines
602 B
YAML

name: Buf CI
on:
push:
permissions:
contents: write
pull-requests: write
packages: write
jobs:
buf:
runs-on: ubuntu-latest
env:
DOCKER_IMG: ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }}
COMPOSE_PROJECT_NAME: ${{ gitea.ref_name }}-services
COMPOSE_SERVICE_NAME: ${{ github.event.repository.name }}
steps:
- run: |
echo $DOCKER_IMG - $COMPOSE_PROJECT_NAME - $COMPOSE_SERVICE_NAME
recover:
steps:
- name: The job has failed
if: ${{ failure() }}
run: echo recovering from failure