1
This commit is contained in:
parent
d305c56618
commit
e43a7d55b4
3 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ steps:
|
|||
org.opencontainers.image.vendor: kokuwa.io
|
||||
org.opencontainers.image.licenses: EUPL-1.2
|
||||
org.opencontainers.image.ref.name: kokuwaio/markdownlint
|
||||
org.opencontainers.image.version: v0.42.0
|
||||
org.opencontainers.image.version: 0.42.0
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ RUN gpg --keyserver=hkps://keys.openpgp.org --recv-keys \
|
|||
|
||||
RUN --mount=type=cache,target=/build \
|
||||
ARCH=$(dpkg --print-architecture); \
|
||||
[[ $ARCH == amd64 ]] && export SUFFIX=x64; \
|
||||
[[ $ARCH == arm64 ]] && export SUFFIX=arm64; \
|
||||
[[ $ARCH == x86_64 ]] && export SUFFIX=x64; \
|
||||
[[ $ARCH == aarch64 ]] && export SUFFIX=arm64; \
|
||||
[[ -z ${SUFFIX:-} ]] && echo "Unknown arch: $ARCH" && exit 1; \
|
||||
wget --no-hsts --quiet \
|
||||
"https://nodejs.org/download/release/v22.16.0/node-v22.16.0-linux-$SUFFIX.tar.xz" \
|
||||
|
@ -51,7 +51,7 @@ RUN --mount=type=tmpfs,target=/root/.npm /opt/node/bin/npm install "markdownlint
|
|||
## Final stage
|
||||
##
|
||||
|
||||
FROM docker.io/library/bash:5.2.37@sha256:01a15c6f48f6a3c08431cd77e11567823530b18159889dca3b7309b707beef91
|
||||
FROM docker.io/library/debian:12.11-slim@sha256:e5865e6858dacc255bead044a7f2d0ad8c362433cfaa5acefb670c1edf54dfef
|
||||
COPY --chmod=555 --from=build /opt/node/bin/node /opt/node/bin/node
|
||||
COPY --chmod=555 --from=build /opt/node/bin/markdownlint /opt/node/bin/markdownlint
|
||||
COPY --from=build /opt/node/lib/node_modules/markdownlint-cli /opt/node/lib/node_modules/markdownlint-cli
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"matchStrings": [
|
||||
"kokuwaio/markdownlint:(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)",
|
||||
"markdownlint-cli@(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)",
|
||||
"version: (?<currentValue>v[0-9]+\\.[0-9]+\\.[0-9]+)"
|
||||
"version: (?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)"
|
||||
],
|
||||
"datasourceTemplate": "npm",
|
||||
"packageNameTemplate": "markdownlint-cli"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue