From ee9dfbdc356d888b1cfaca140faa82065d15b34a Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Sat, 10 Jan 2026 23:16:42 +0100 Subject: [PATCH 1/3] chore(migrations): Upgrade atlas Docker image to v1.0.1 Updates the atlas Docker image used for database migrations from v0.38.1 to v1.0.1. Signed-off-by: Miguel Martinez --- app/controlplane/Dockerfile.migrations | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controlplane/Dockerfile.migrations b/app/controlplane/Dockerfile.migrations index eb818a65c..e7274bcd6 100644 --- a/app/controlplane/Dockerfile.migrations +++ b/app/controlplane/Dockerfile.migrations @@ -2,9 +2,9 @@ # See https://atlasgo.io/guides/deploying/image # NOTE: Updated to canary since there is a vulnerability in the latest stable release # from: arigaio/atlas:latest -# docker run arigaio/atlas@sha256:ea3f647b96cf61010deff910c97f8c092deda1db2be3b2b8f20780668bfcf32c version -# atlas version v0.38.1-ce311d2-canary -FROM arigaio/atlas@sha256:ea3f647b96cf61010deff910c97f8c092deda1db2be3b2b8f20780668bfcf32c as base +# docker run arigaio/atlas@sha256:e106ee023990c556bd0a9ed3d2d0c1d7df8fc3816c3a4136a99a50649095f14a version +# atlas version v1.0.1-e178828-canary +FROM arigaio/atlas@sha256:e106ee023990c556bd0a9ed3d2d0c1d7df8fc3816c3a4136a99a50649095f14a as base FROM scratch # Update permissions to make it readable by the user From 5ff2eb987b5347e21c0eab8ea5e5833f32564b45 Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Mon, 12 Jan 2026 13:00:26 +0100 Subject: [PATCH 2/3] chore(migrations): Update atlas CLI to v1.0.0 in Makefile Updates the atlas CLI version installed by make init from v0.38.0 to v1.0.0. Signed-off-by: Miguel Martinez --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index c9c555a0f..59c1b98bc 100644 --- a/common.mk +++ b/common.mk @@ -9,7 +9,7 @@ init: init-api-tools # in the community version anymore https://github.com/ariga/atlas/issues/2388#issuecomment-1864287189 # install golangci-lint with Go 1.25 support curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v2.4.0 - curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.38.0 sh -s -- -y + curl -sSf https://atlasgo.sh | ATLAS_VERSION=v1.0.0 sh -s -- -y # initialize API tooling .PHONY: init-api-tools From 5c1e1b5aca6fe310d28c02f19a1d78fb269ae4bd Mon Sep 17 00:00:00 2001 From: Miguel Martinez Date: Mon, 12 Jan 2026 15:42:17 +0100 Subject: [PATCH 3/3] chore(migrations): Use atlas 1.0.0 stable release tag Updates to use the stable v1.0.0 release tag instead of the canary version. Signed-off-by: Miguel Martinez --- app/controlplane/Dockerfile.migrations | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/controlplane/Dockerfile.migrations b/app/controlplane/Dockerfile.migrations index e7274bcd6..255aa751f 100644 --- a/app/controlplane/Dockerfile.migrations +++ b/app/controlplane/Dockerfile.migrations @@ -1,10 +1,9 @@ # Container image built by go-releaser that's used to run migrations against the database during deployment # See https://atlasgo.io/guides/deploying/image -# NOTE: Updated to canary since there is a vulnerability in the latest stable release -# from: arigaio/atlas:latest -# docker run arigaio/atlas@sha256:e106ee023990c556bd0a9ed3d2d0c1d7df8fc3816c3a4136a99a50649095f14a version -# atlas version v1.0.1-e178828-canary -FROM arigaio/atlas@sha256:e106ee023990c556bd0a9ed3d2d0c1d7df8fc3816c3a4136a99a50649095f14a as base +# from: arigaio/atlas:1.0.0 +# docker run arigaio/atlas@sha256:0c5585e0768aeb500c1322e056caafe8a01c6cfc7cf2e5430ec26a6fc9541c09 version +# atlas version v1.0.0 +FROM arigaio/atlas@sha256:0c5585e0768aeb500c1322e056caafe8a01c6cfc7cf2e5430ec26a6fc9541c09 as base FROM scratch # Update permissions to make it readable by the user