fixing build error
This commit is contained in:
parent
c03f86a1d4
commit
adc7d87f62
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user