fixing build error
Some checks failed
Build Binaries / Build & Test (push) Successful in 51s
Build Binaries / Package Library (push) Failing after 34s
Build Binaries / Package Container (push) Has been cancelled

This commit is contained in:
Andy Pack 2024-07-28 12:44:28 +01:00
parent c03f86a1d4
commit adc7d87f62
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -53,8 +53,7 @@ jobs:
default = "sargit" default = "sargit"
[registries.gitea] [registries.gitea]
index = "sparse+https://git.sarsoo.xyz/api/packages/${{ secrets.DOCKERHUB_USERNAME }}/cargo/" # Sparse index index = "sparse+https://git.sarsoo.xyz/api/packages/${{ secrets.DOCKERHUB_USERNAME }}/cargo/"
# index = "https://git.sarsoo.xyz/sarsoo/_cargo-index.git" # Git
[net] [net]
git-fetch-with-cli = true git-fetch-with-cli = true
@ -64,7 +63,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: publish command: publish
args: --token ${{ secrets.DOCKERHUB_TOKEN }} --package dnstplib args: --token ${{ secrets.GITEA_TOKEN }} --package dnstplib
package: package:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -84,7 +83,7 @@ jobs:
with: with:
registry: gitea.sheep-ghoul.ts.net registry: gitea.sheep-ghoul.ts.net
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.GITEA_TOKEN }}
- name: Build & Push Container - name: Build & Push Container
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2