writing creds to file
This commit is contained in:
parent
128b2941d1
commit
369c3617bc
@ -59,11 +59,18 @@ jobs:
|
|||||||
git-fetch-with-cli = true
|
git-fetch-with-cli = true
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
- name: Add SarGit Credentials
|
||||||
|
run: |
|
||||||
|
cat <<EOF > ~/.cargo/credentials.toml
|
||||||
|
[registries.sargit]
|
||||||
|
token = "Bearer ${{ secrets.DOCKERHUB_TOKEN }}"
|
||||||
|
EOF
|
||||||
|
|
||||||
- name: Cargo Publish
|
- name: Cargo Publish
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: publish
|
command: publish
|
||||||
args: --token "${{ secrets.DOCKERHUB_TOKEN }}" --package dnstplib
|
args: --package dnstplib
|
||||||
|
|
||||||
package:
|
package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user