Skip to content

Commit 6f04126

Browse files
authored
chore(migrations): Upgrade atlas Docker image to v1.0.1 (#2653)
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
1 parent 749be3c commit 6f04126

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

app/controlplane/Dockerfile.migrations

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Container image built by go-releaser that's used to run migrations against the database during deployment
22
# See https://atlasgo.io/guides/deploying/image
3-
# NOTE: Updated to canary since there is a vulnerability in the latest stable release
4-
# from: arigaio/atlas:latest
5-
# docker run arigaio/atlas@sha256:ea3f647b96cf61010deff910c97f8c092deda1db2be3b2b8f20780668bfcf32c version
6-
# atlas version v0.38.1-ce311d2-canary
7-
FROM arigaio/atlas@sha256:ea3f647b96cf61010deff910c97f8c092deda1db2be3b2b8f20780668bfcf32c as base
3+
# from: arigaio/atlas:1.0.0
4+
# docker run arigaio/atlas@sha256:0c5585e0768aeb500c1322e056caafe8a01c6cfc7cf2e5430ec26a6fc9541c09 version
5+
# atlas version v1.0.0
6+
FROM arigaio/atlas@sha256:0c5585e0768aeb500c1322e056caafe8a01c6cfc7cf2e5430ec26a6fc9541c09 as base
87

98
FROM scratch
109
# Update permissions to make it readable by the user

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ init: init-api-tools
99
# in the community version anymore https://github.com/ariga/atlas/issues/2388#issuecomment-1864287189
1010
# install golangci-lint with Go 1.25 support
1111
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v2.4.0
12-
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v0.38.0 sh -s -- -y
12+
curl -sSf https://atlasgo.sh | ATLAS_VERSION=v1.0.0 sh -s -- -y
1313

1414
# initialize API tooling
1515
.PHONY: init-api-tools

0 commit comments

Comments
 (0)