Update gitea workflow for native builds
This commit is contained in:
parent
a8360b2492
commit
747d976f78
@ -3,10 +3,7 @@ name: Generic Build
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
tags-ignore:
|
||||
- 'v*-arm64'
|
||||
- 'v*-amd64'
|
||||
- 'v*-native'
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@ -15,6 +12,10 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract version
|
||||
id: version
|
||||
run: echo "VERSION=$(echo ${{ gitea.ref_name }} | sed 's/-native//')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@ -32,4 +33,4 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
dcr.behzadan.com/reza/wireguard-3proxy:latest
|
||||
dcr.behzadan.com/reza/wireguard-3proxy:${{ gitea.ref_name }}
|
||||
dcr.behzadan.com/reza/wireguard-3proxy:${{ steps.version.outputs.VERSION }}
|
||||
|
Loading…
Reference in New Issue
Block a user