diff --git a/.github/workflows/build-and-publish-ldap-sync.yml b/.github/workflows/build-and-publish-ldap-sync.yml index ff2ead5..d2490fd 100644 --- a/.github/workflows/build-and-publish-ldap-sync.yml +++ b/.github/workflows/build-and-publish-ldap-sync.yml @@ -90,7 +90,7 @@ jobs: echo "dev_version_tag=v${VERSION}-dev-$SHA" >> $GITHUB_OUTPUT fi ;; - refs/heads/v[0-9]*) + refs/heads/v*) BRANCH_VERSION="${GITHUB_REF#refs/heads/}" if [[ -n "$VERSION" ]]; then echo "version_tag=v$VERSION" >> $GITHUB_OUTPUT @@ -137,4 +137,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') uses: softprops/action-gh-release@v2 with: - generate_release_notes: true \ No newline at end of file + generate_release_notes: true diff --git a/README.md b/README.md index 86cde4c..a4b28f4 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Add your own scheduler (cron, k8s job, GitHub Actions, etc.) to run the binary a ```bash # build the container -docker build -t modomofn/ldap-sync:latest ./ldap-sync +docker build -t modomofn/ldap-sync:v2.0.3 ./ldap-sync # run against a local stack docker run --rm \ @@ -75,7 +75,7 @@ docker run --rm \ -e LDAP_HOST=ldap://openldap:389 \ -e LDAP_ADMIN_DN="cn=admin,dc=authportal,dc=local" \ -e LDAP_ADMIN_PASSWORD=supersecret \ - modomofn/ldap-sync:dev + modomofn/ldap-sync:v2.0.3 ``` When the run completes you will see logs for any adds/updates. Rerun anytime AuthPortal grants or revokes access. @@ -89,4 +89,4 @@ ldap-sync is a supporting actor. The feature-rich headliner lives here: **[AuthP --- > [!IMPORTANT] -> **Use at your own risk.** This project leans on Vibe Coding practices - AI pair-programming, automated refactors, and rapid iteration. Treat releases as starting points - test, monitor, and adapt to your stack. AuthPortal and ldap-sync remains an independent effort with no endorsement from Plex, Emby, or Jellyfin. \ No newline at end of file +> **Use at your own risk.** This project leans on Vibe Coding practices - AI pair-programming, automated refactors, and rapid iteration. Treat releases as starting points - test, monitor, and adapt to your stack. AuthPortal and ldap-sync remains an independent effort with no endorsement from Plex, Emby, or Jellyfin.