2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

lock docker image used for migrations

This commit is contained in:
Frederik Ring 2019-11-03 22:59:32 +01:00
parent 11f20ea084
commit 4247d190c4

View File

@ -93,7 +93,7 @@ jobs:
fi
- run:
name: Run database migrations
command: docker run -it offen/offen:$DOCKER_IMAGE_TAG migrate -conn $(aws secretsmanager get-secret-value --secret-id $TARGET_ENVIRONMENT/postgresConnectionString | jq -r '.SecretString')
command: docker run -it offen/offen:offen@sha256:4c0d2d5db9bc749d21ad8659008658bf25318074b7c813b0a694e64816df750d migrate -conn $(aws secretsmanager get-secret-value --secret-id $TARGET_ENVIRONMENT/postgresConnectionString | jq -r '.SecretString')
- run:
name: Deploy
command: |