github.com/kombifyio/stackkits v0.57.18
Manual workflow input enters shell sourceAArch64 (ARM64) architecture string
SHA-2565fa3cbe709edf4f0ba87f23fb7bbe7976be41e052d27ec32bf0d4d636e936fc4
Evidence
⋯8 lines
9# The Scorecard API rejects published results when write permissions are
10# granted at workflow level; grant them on the job only.
11permissions: read-all
12
13jobs:
⋯10 lines
24 uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
25 with:
26 persist-credentials: false
27
28 - name: Run OpenSSF Scorecard
29 uses: ossf/scorecard-action@f2ea147fec3c2f0d459703eba7405b5e9bcd8c8f
30 with:
31 results_file: scorecard.sarif
32 results_format: sarif
33 publish_results: true
34
35 - name: Upload SARIF
36 uses: github/codeql-action/upload-sarif@78ed0c7291d93e40c51b085850dc669a4c3ab73b
37 with:
38 sarif_file: scorecard.sarif
52:49… -------------------------------
53FROM alpine:3.24 AS tofu-installer
54
55ARG TOFU_VERSION=1.12.6
56
57RUN apk add --no-cache curl && \
58 curl -fsSL "https://github.com/opentofu/opentofu/releases/download/v${TOFU_VERSION}/tofu_${TOFU_VERSION}_amd64.apk" \
59 -o /tmp/tofu.apk && \
60 apk add --no-cache --allow-untrusted /tmp/tofu.apk && \
61 rm /tmp/tofu.apk && \
62 tofu version && \
63 cp "$(command -v tofu)" /usr/local/bin/tofu
64
65# ------------------------------ …
89:49… local/bin/stackkit-server
90
91# Ensure binaries are executable
92RUN chmod +x /usr/local/bin/tofu /usr/local/bin/stackkit /usr/local/bin/stackkit-server
93
94# Create non-root user (in docker group for Docker CLI access)
95RUN addg …
95:31… duser -S stackkit -G stackkit && \
96 addgroup stackkit docker 2>/dev/null || true
97
98# Create workspace directory
99WORKDIR /workspace
100
101# Set environment variables
102ENV STACKKIT_BIN=stackkit
103ENV STACKKITS_BASE_DIR=/workspace
104
105# …
112:28… kit /workspace
113USER stackkit
114
115# Expose HTTP API port
116EXPOSE 8082
117
118# Verify installations
119RUN tofu version && stackkit --help
120
121HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
122 CMD curl -f http://localhost:8082/health || exit 1
123
124# Default: run HTTP API server (override with CMD ["stackkit", ...] for CLI mode)
125CMD ["stackkit-server", "--port", "8082", "--base-dir", "/workspace"]
Showing the top 5 files — 3 more files (43 regions) not shown.