Update gitea workflow for native builds
This commit is contained in:
parent
a8360b2492
commit
747d976f78
@ -3,10 +3,7 @@ name: Generic Build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*-native'
|
||||||
tags-ignore:
|
|
||||||
- 'v*-arm64'
|
|
||||||
- 'v*-amd64'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@ -15,6 +12,10 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@ -32,4 +33,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
dcr.behzadan.com/reza/wireguard-3proxy:latest
|
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