writing creds to file
Some checks failed
Build Binaries / Build & Test (push) Successful in 54s
Build Binaries / Package Library (push) Failing after 45s
Build Binaries / Package Container (push) Successful in 1m32s

This commit is contained in:
Andy Pack 2024-07-28 13:00:52 +01:00
parent 128b2941d1
commit 369c3617bc
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -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