Skip to content

Commit

Permalink
fixing build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarsoo committed Jul 28, 2024
1 parent c03f86a commit adc7d87
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gitea/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
default = "sargit"
[registries.gitea]
index = "sparse+https://git.sarsoo.xyz/api/packages/${{ secrets.DOCKERHUB_USERNAME }}/cargo/" # Sparse index
# index = "https://git.sarsoo.xyz/sarsoo/_cargo-index.git" # Git
index = "sparse+https://git.sarsoo.xyz/api/packages/${{ secrets.DOCKERHUB_USERNAME }}/cargo/"
[net]
git-fetch-with-cli = true
Expand All @@ -64,7 +63,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.DOCKERHUB_TOKEN }} --package dnstplib
args: --token ${{ secrets.GITEA_TOKEN }} --package dnstplib

package:
runs-on: ubuntu-latest
Expand All @@ -84,7 +83,7 @@ jobs:
with:
registry: gitea.sheep-ghoul.ts.net
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.GITEA_TOKEN }}

- name: Build & Push Container
uses: docker/build-push-action@v2
Expand Down

0 comments on commit adc7d87

Please sign in to comment.