diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b61ecd7..3977c6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: jobs: build-and-push: runs-on: ubuntu-latest + environment: Release Authentication steps: # Checkout the repository @@ -36,14 +37,12 @@ jobs: # Commit the new version - name: Commit Updated Version - env: - PAT: ${{ secrets.PAT }} run: | git config user.name "GitHub Actions" git config user.email "actions@github.com" git add VERSION git commit -m "Bump version to ${{ env.new_version }}" - git push https://${PAT}@github.com/chrismuntean/Handify.git HEAD:main + git push https://${{ secrets.PAT }}@github.com/chrismuntean/Handify.git HEAD:main # Log in to Docker Hub - name: Log in to Docker Hub