This commit is contained in:
2025-05-24 14:27:59 +02:00
parent 89a4190bf6
commit 55c6eb0cb6
2 changed files with 2 additions and 23 deletions

View File

@@ -15,18 +15,6 @@ jobs:
#if: gitea.ref == 'refs/heads/main' #if: gitea.ref == 'refs/heads/main'
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
- name: Set env
run: |
echo "Test"
echo "${{gitea.ref_name}}"
echo ${{gitea.ref_name}}
${{gitea.ref_name}}
echo "${{gitea.ref_name#release/}}"
echo ${{gitea.ref_name#release/}}
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
#GITHUB_REF_NAME #GITHUB_REF_NAME

View File

@@ -4,10 +4,7 @@ run-name: ${{ gitea.actor }} is runs ci pipeline
#on: #on:
# release: # release:
# types: [published] # types: [published]
on: on: [push]
push:
branches:
- release/*
jobs: jobs:
# test: # test:
@@ -24,15 +21,9 @@ jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
#if: gitea.ref == 'refs/heads/main' if: gitea.ref != 'refs/heads/main'
steps: steps:
- uses: https://github.com/actions/checkout@v4 - uses: https://github.com/actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${gitea.ref_name#release/}" >> gitea.env
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3 uses: https://github.com/docker/setup-buildx-action@v3
with: with: