Bump some versions

This commit is contained in:
Tom Wright 2023-08-29 17:51:39 +01:00
parent c4e03f7d41
commit f29815757f
No known key found for this signature in database
7 changed files with 732 additions and 171 deletions

View File

@ -7,7 +7,7 @@ jobs:
build:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:

View File

@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:

View File

@ -1,5 +1,5 @@
# This stage builds the go executable.
FROM golang:1.19.3-buster as go
FROM golang:1.21.0-alpine as go
WORKDIR /root
COPY ./ ./

View File

@ -2,10 +2,10 @@ DOCKER_IMAGE=tomwright/mermaid-server:latest
CONTAINER_NAME=mermaid-server
docker-image:
docker build -t ${DOCKER_IMAGE} .
docker build --platform linux/x86_64 -t ${DOCKER_IMAGE} .
docker-run:
docker run -d --name ${CONTAINER_NAME} -p 80:80 ${DOCKER_IMAGE}
docker run -d --platform linux/x86_64 --name ${CONTAINER_NAME} -p 80:80 ${DOCKER_IMAGE}
docker-stop:
docker stop ${CONTAINER_NAME} || true

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/tomwright/mermaid-server
go 1.15
go 1.21
require (
github.com/tomwright/grace v0.1.2

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"@mermaid-js/mermaid-cli": "^9.1.7"
"@mermaid-js/mermaid-cli": "^10.3.1"
}
}