Skip to content

Commit

Permalink
Fix duplicate erd version strings
Browse files Browse the repository at this point in the history
  • Loading branch information
felixvanoost committed Aug 18, 2024
1 parent d632d60 commit 07aa3df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/tasks/update-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ try {
const { version } = d2VersionFound.groups
diagramLibraryVersions.d2 = version
}
const erdVersionFound = line.match(/^ARG ERD_VERSION="(?<version>.+)"$/)
const erdVersionFound = line.match(/^FROM ghcr.io\/felixvanoost\/erd:v(?<version>\S+) AS erd$/)
if (erdVersionFound) {
const { version } = erdVersionFound.groups
diagramLibraryVersions.erd = version
Expand Down
3 changes: 1 addition & 2 deletions server/ops/docker/jdk17-noble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ RUN SVGBOB_VERSION=`cat Cargo.toml | grep "svgbob_cli =" | sed -r 's/.*"([^"]+)"
cargo install --quiet --target $RUST_TARGET_ARCH-unknown-linux-gnu --version $SVGBOB_VERSION svgbob_cli

## Erd
ARG ERD_VERSION="0.2.3"
FROM ghcr.io/yuzutech/erd:v$ERD_VERSION AS erd
FROM ghcr.io/yuzutech/erd:v0.2.3 AS erd

## yuzutech/kroki
FROM eclipse-temurin:17.0.12_7-jre-noble
Expand Down

0 comments on commit 07aa3df

Please sign in to comment.