You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Docker pull instructions from GHCR to documentation
- Add detailed instructions for pulling images from GitHub Container Registry
- Include authentication steps for private repositories
- Add examples with actual repository paths and tags
- Enhance CI/CD section with image location and pull commands
Copy file name to clipboardExpand all lines: README.md
+64-4Lines changed: 64 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,15 +52,29 @@ A Python script to sync Microsoft Intune managed devices into Snipe-IT, with the
52
52
53
53
### Docker Installation
54
54
55
-
Pull the pre-built image from GitHub Container Registry:
55
+
**Pull the pre-built image from GitHub Container Registry:**
56
56
57
57
```bash
58
+
# Pull the latest image
58
59
docker pull ghcr.io/yourorg/intune2snipe:latest
59
60
```
60
61
61
-
Or build locally:
62
+
**Note:** Replace `yourorg/intune2snipe` with your GitHub organization/username and repository name. The image path format is `ghcr.io/<org-or-username>/<repo-name>:<tag>`.
63
+
64
+
**For private repositories**, authenticate first:
62
65
63
66
```bash
67
+
# Login to GHCR using your GitHub Personal Access Token
68
+
# Create a PAT with 'read:packages' permission at: https://github.com/settings/tokens
69
+
docker login ghcr.io -u YOUR_GITHUB_USERNAME
70
+
# Enter your GitHub Personal Access Token when prompted
0 commit comments