Skip to content

Commit 0f82d6c

Browse files
authored
Revert container (#610)
* revert container build
1 parent 5ed69bf commit 0f82d6c

4 files changed

Lines changed: 1 addition & 102 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,3 @@ updates:
2828
interval: "weekly"
2929
cooldown:
3030
default-days: 7
31-
32-
# Docker base image dependencies
33-
- package-ecosystem: "docker"
34-
directory: "/"
35-
schedule:
36-
interval: "weekly"
37-
cooldown:
38-
default-days: 7

.github/workflows/release.yaml

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34,47 +34,4 @@ jobs:
3434
distribution: goreleaser
3535
args: release --clean --verbose -f goreleaser.yaml ${{ env.flags }}
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
- name: Set up QEMU
39-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
40-
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
41-
- name: Set up Docker Buildx
42-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
43-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
44-
- name: Log in to GitHub Container Registry
45-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
46-
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
47-
with:
48-
registry: ghcr.io
49-
username: ${{ github.actor }}
50-
password: ${{ secrets.GITHUB_TOKEN }}
51-
- name: Docker metadata
52-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
53-
id: meta
54-
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
55-
with:
56-
images: ghcr.io/${{ github.repository }}
57-
tags: |
58-
type=semver,pattern={{version}}
59-
type=semver,pattern={{major}}.{{minor}}
60-
type=raw,value=latest
61-
- name: Prepare binaries for container image
62-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
63-
run: |
64-
cp "$(find dist -path 'dist/pipeleek_linux_amd64*/pipeleek' -print -quit)" pipeleek_amd64
65-
cp "$(find dist -path 'dist/pipeleek_linux_arm64*/pipeleek' -print -quit)" pipeleek_arm64
66-
chmod +x pipeleek_amd64 pipeleek_arm64
67-
- name: Build and push container image
68-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
69-
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
70-
with:
71-
context: .
72-
platforms: linux/amd64,linux/arm64
73-
push: true
74-
tags: ${{ steps.meta.outputs.tags }}
75-
labels: ${{ steps.meta.outputs.labels }}
76-
- name: Upload assets
77-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
78-
with:
79-
name: Pipeleek
80-
path: ./dist/*
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/introduction/getting_started.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -115,45 +115,6 @@ go install github.com/CompassSecurity/pipeleek/cmd/pipeleek@latest
115115
.\pipeleek.exe --version
116116
```
117117

118-
### Docker
119-
120-
Pipeleek is available as a minimal container image on the GitHub Container Registry.
121-
122-
Pull the latest image:
123-
124-
```bash
125-
docker pull ghcr.io/compasssecurity/pipeleek:latest
126-
```
127-
128-
Run Pipeleek directly from the container:
129-
130-
```bash
131-
docker run --rm ghcr.io/compasssecurity/pipeleek:latest --version
132-
```
133-
134-
```bash
135-
docker run --rm ghcr.io/compasssecurity/pipeleek:latest gl scan --token glpat-[redacted] --gitlab https://gitlab.example.com
136-
```
137-
138-
You can also pass credentials via environment variables:
139-
140-
```bash
141-
docker run --rm \
142-
-e PIPELEEK_TOKEN=glpat-[redacted] \
143-
-e PIPELEEK_GITLAB=https://gitlab.example.com \
144-
ghcr.io/compasssecurity/pipeleek:latest gl scan
145-
```
146-
147-
To use a local configuration file inside the container, mount it as a volume:
148-
149-
```bash
150-
docker run --rm \
151-
-v /path/to/pipeleek.yaml:/root/pipeleek.yaml:ro \
152-
ghcr.io/compasssecurity/pipeleek:latest gl scan
153-
```
154-
155-
The image supports both `linux/amd64` and `linux/arm64` architectures. Versioned tags are available for pinning to a specific release (e.g., `ghcr.io/compasssecurity/pipeleek:1.0.0`).
156-
157118
### Platform-Specific Binaries
158119

159120
Pipeleek also provides platform-specific binaries that include only the commands for a specific platform. These are smaller and can be downloaded manually at [Pipeleek GitHub Releases](https://github.com/CompassSecurity/pipeleek/releases):

0 commit comments

Comments
 (0)