Fix workflow and prepare for Docker Hub publishing (#4)

* fix: commit package-lock.json for reproducible Docker builds

- Remove package-lock.json from .gitignore (was incorrectly ignored)
- Add package-lock.json with pinned dependency versions
- Use npm ci for faster, deterministic installs in CI
- Re-enable npm cache for build performance
- Ensures exact dependency versions in Docker images

* fix: remove unused catch parameter

* docs: update Docker image name to official keeper/harness-plugin

- Replace placeholder dhborse/keeper-harness-plugin with keeper/harness-plugin:latest
- Use official Keeper organization image name
This commit is contained in:
stas-schaller
2026-02-16 14:14:49 -05:00
committed by GitHub
parent 65515eb4d9
commit 721adbcbc3
5 changed files with 4510 additions and 3 deletions
+1
View File
@@ -37,6 +37,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
-1
View File
@@ -1,2 +1 @@
node_modules/
package-lock.json
+1 -1
View File
@@ -59,7 +59,7 @@ pipeline:
name: Fetch_Keeper_Secrets
identifier: Fetch_Keeper_Secrets
spec:
image: dhborse/keeper-harness-plugin
image: keeper/harness-plugin:latest
settings:
secrets: |
RECORD_UID/field/password > PASSWORD
+4507
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -44,7 +44,7 @@ const processToken = (rawToken) => {
if (!token.startsWith('US:') && !token.startsWith('{')) {
try {
token = Buffer.from(token, 'base64').toString('utf-8').trim();
} catch (e) {
} catch {
// Not base64, use as-is
core.warning('Base64 decode failed, using raw value');
}