Skip to content

Commit

Permalink
writing creds to file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarsoo committed Jul 28, 2024
1 parent 128b294 commit 369c361
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .gitea/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,18 @@ jobs:
git-fetch-with-cli = true
EOF
- name: Add SarGit Credentials
run: |
cat <<EOF > ~/.cargo/credentials.toml
[registries.sargit]
token = "Bearer ${{ secrets.DOCKERHUB_TOKEN }}"
EOF
- name: Cargo Publish
uses: actions-rs/cargo@v1
with:
command: publish
args: --token "${{ secrets.DOCKERHUB_TOKEN }}" --package dnstplib
args: --package dnstplib

package:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 369c361

Please sign in to comment.