username: ${{ secrets.PACKAGES_USER }}
          password: ${{ secrets.PACKAGES_TOKEN }}
This commit is contained in:
miwr 2025-04-08 13:18:44 +02:00
parent 5e800c4dae
commit 90ac2abf7d
2 changed files with 1 additions and 5 deletions

View file

@ -35,11 +35,7 @@ jobs:
buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host
- name: Lint test
with:
username: ${{ secrets.PACKAGES_USER }}
password: ${{ secrets.PACKAGES_TOKEN }}
run: |
echo ${{ secrets.PACKAGES_USER }}
registry=${{ github.server_url }}
registry=${registry##http*://}
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"

View file

@ -18,7 +18,7 @@ jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json packag
# Optional: Commit and tag
# echo ${secrets.PACKAGES_USER}
# git config --global user.name ${{ secrets.PACKAGES_USER }}
git config --global user.name giteaAdmin
git add package.json
echo "adding succeeded"
git commit -m "Bump version to $new_version"