writing creds to file
This commit is contained in:
parent
128b2941d1
commit
369c3617bc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user