no with:
username: ${{ secrets.PACKAGES_USER }} password: ${{ secrets.PACKAGES_TOKEN }}
This commit is contained in:
parent
5e800c4dae
commit
90ac2abf7d
2 changed files with 1 additions and 5 deletions
|
@ -35,11 +35,7 @@ jobs:
|
||||||
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
buildkitd-flags: '--allow-insecure-entitlement network.host'
|
||||||
driver-opts: network=host
|
driver-opts: network=host
|
||||||
- name: Lint test
|
- name: Lint test
|
||||||
with:
|
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
|
||||||
password: ${{ secrets.PACKAGES_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.PACKAGES_USER }}
|
|
||||||
registry=${{ github.server_url }}
|
registry=${{ github.server_url }}
|
||||||
registry=${registry##http*://}
|
registry=${registry##http*://}
|
||||||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||||
|
|
|
@ -18,7 +18,7 @@ jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json packag
|
||||||
# Optional: Commit and tag
|
# Optional: Commit and tag
|
||||||
|
|
||||||
# echo ${secrets.PACKAGES_USER}
|
# echo ${secrets.PACKAGES_USER}
|
||||||
# git config --global user.name ${{ secrets.PACKAGES_USER }}
|
git config --global user.name giteaAdmin
|
||||||
git add package.json
|
git add package.json
|
||||||
echo "adding succeeded"
|
echo "adding succeeded"
|
||||||
git commit -m "Bump version to $new_version"
|
git commit -m "Bump version to $new_version"
|
||||||
|
|
Loading…
Reference in a new issue