diff --git a/.github/workflows/image_creation.yaml b/.github/workflows/image_creation.yaml index 029cbba..f4a9793 100644 --- a/.github/workflows/image_creation.yaml +++ b/.github/workflows/image_creation.yaml @@ -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 diff --git a/.github/workflows/tags.yml b/.github/workflows/tags.yml index 493e4c7..024b815 100644 --- a/.github/workflows/tags.yml +++ b/.github/workflows/tags.yml @@ -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: |