Fix steps
Some checks failed
Go-tags / build (push) Failing after 10s

This commit is contained in:
maximo tejeda 2024-11-15 10:14:22 -04:00
parent b1bc7dd2b6
commit 0abe2badf1
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ jobs:
with:
registry: ${{ vars.GITEAINSTANCE }}
username: ${{ vars.USERNAME }}
password: ${{ secrets.PASSWORD }}
password: ${{ secrets.PWD }}
- name: Build and push
uses: docker/build-push-action@v6

View File

@ -26,8 +26,8 @@ jobs:
- name: Build amd64
run: |
export shortsha=`git rev-parse --short HEAD`
GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION "-X 'main.Shortsha=$shortsha' -X 'main.Version=$TAG_VERSION' -X 'main.Aarch=amd64'" ./cmd/...
shortsha=`git rev-parse --short HEAD` GOOS=linux GOARCH=amd64 go build -o bin/ddns_amd64_$TAG_VERSION "-X 'main.Shortsha=$shortsha' -X 'main.Version=$TAG_VERSION' -X 'main.Aarch=amd64'" ./cmd/...
- name: Build arm64
run: |