Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

FROM ghcr.io/voxpupuli/r10k:$R10K_VERSION-latest

LABEL org.label-schema.maintainer="Vox Pupuli Team <voxpupuli@groups.io>" \

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_date' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$vcs_ref' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$WEBHOOK_GO_VERSION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_type' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$vcs_ref' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$WEBHOOK_GO_VERSION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_type' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Scan CI container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_date' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_date' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$vcs_ref' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$WEBHOOK_GO_VERSION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, arm64, ubuntu-24.04-arm)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_type' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_date' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$vcs_ref' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$WEBHOOK_GO_VERSION' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 16 in Containerfile

View workflow job for this annotation

GitHub Actions / Build test container (5.0.0, 2.14.3, amd64, ubuntu-24.04)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$build_type' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
org.label-schema.vendor="Vox Pupuli" \
org.label-schema.url="https://github.com/voxpupuli/container-r10k-webhook" \
org.label-schema.vcs-url="https://github.com/voxpupuli/container-r10k-webhook" \
Expand All @@ -27,6 +27,7 @@
ENV USER="puppet"
ENV PORT=4000
ENV TLS=false
ENV DEPLOY_ON_SUCCESS_ONLY=false
ENV DEFAULT_BRANCH="production"
ENV GENERATE_TYPES=true
ENV VERBOSE=false
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ This container is based on the [r10k container](https://github.com/voxpupuli/con
| `TLS_KEY` | Path to the private key file. Only required if TLS=true. |
| `TLS` | Expect incoming HTTPS. Defaults to `false`. |
| `USER` | Login username to trigger hooks. Defauls to `puppet`. |
| `DEPLOY_ON_SUCCESS_ONLY` | Only run a deploy if checks pass. Defaults to `false` |

### Adding additional certificates to the container

Expand Down
1 change: 1 addition & 0 deletions container-entrypoint.d/50-create_webhook_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ server:
user: ${USER}
password: ${PASSWORD}
port: ${PORT}
deploy_on_success_only: ${DEPLOY_ON_SUCCESS_ONLY}
tls:
enabled: ${TLS}
certificate: ${TLS_CERT:-""}
Expand Down
Loading