flow not triggered
This commit is contained in:
parent
3febc960bb
commit
e32e0f52f6
10
.github/workflows/image_creation.yaml
vendored
10
.github/workflows/image_creation.yaml
vendored
@ -7,9 +7,9 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
USERNAME: ${{ vars.USERNAME }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
USERNAME: ${{ vars.USERNAME }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@ -40,5 +40,5 @@ jobs:
|
||||
push: true
|
||||
tags: git.maximotejeda.com/maximo/ddns:${{ github.ref_name }}
|
||||
build-args: |
|
||||
version=${{ github.ref_name }}
|
||||
SHORTSHA=${{ steps.calculate-sha.outputs.shortsha }}
|
||||
version=${{ github.ref_name }}
|
||||
SHORTSHA=${{ steps.calculate-sha.outputs.shortsha }}
|
||||
|
||||
13
.github/workflows/tags.yml
vendored
13
.github/workflows/tags.yml
vendored
@ -7,9 +7,9 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
USERNAME: ${{ vars.USERNAME }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
TOKEN: ${{ secrets.TOKEN }}
|
||||
USERNAME: ${{ vars.USERNAME }}
|
||||
TAG_VERSION: ${{ github.ref_name }}
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
@ -23,11 +23,10 @@ jobs:
|
||||
- name: set shortsha
|
||||
id: set-sha
|
||||
run: |
|
||||
echo "shortsha=$(git rev-parse --short HEAD)" >> GITHUB_OUTPUT
|
||||
echo "shortsha=$(git rev-parse --short HEAD)" >> GITHUB_OUTPUT
|
||||
|
||||
- name: Build amd64
|
||||
run: |
|
||||
|
||||
run: |
|
||||
shortsha=`git rev-parse --short HEAD` GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION "-X 'main.Shortsha=${{ steps.set-sha.outputs.shortsha }}' -X 'main.Version=$TAG_VERSION' -X 'main.Aarch=amd64'" ./cmd/...
|
||||
|
||||
- name: Build arm64
|
||||
@ -44,5 +43,5 @@ jobs:
|
||||
|
||||
- name: test env download path
|
||||
run: |
|
||||
echo "curl -OJ http://gitea/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns"
|
||||
echo "curl -OJ http://gitea/api/packages/$USERNAME/generic/ddns/arm64_$TAG_VERSION/ddns"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user