This commit is contained in:
parent
72ca7a1923
commit
9b3731cffe
9
.github/workflows/tags.yml
vendored
9
.github/workflows/tags.yml
vendored
@ -6,6 +6,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
USERNAME: ${{ vars.USERNAME }}
|
||||||
|
TAG_VERSION: ${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
@ -17,10 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: set env
|
- name: set env
|
||||||
run: |
|
run: |
|
||||||
echo "TOKEN=${{ secrets.TOKEN }}" >> GITHUB_ENV
|
git rev-parse --short HEAD >> ./shortsha
|
||||||
echo "USERNAME=${{ vars.USERNAME }}" >> GITHUB_ENV
|
|
||||||
echo "TAG_VERSION=${{ github.ref_name }}" >> GITHUB_ENV
|
|
||||||
echo "SHORTSHA=$(git rev-parse --short HEAD)" >> GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Build amd64
|
- name: Build amd64
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user