This message was deleted.
# general
s
This message was deleted.
s
Kinda working through that currently. My approach is create a base image project that outputs the docker image and tag. Then also push that to parameter store. Within that project i need to evaluate if the parameter has been created yet or not that way i know if i need to pull the value of the parameter or use a default base image to patch. Havent full figured out the later logistics of how my app images know to use X base version. Technically i need to control versions so i know which patch cycle the various environments are using.
Maybe my approach is flawed, so wouldnt mind your input or others on it
d
@strong-plastic-28250 with parameter store do you mean the yaml files?
s
No aws ssm parameter store you can store strings, array, secrets
d
I wanted to do something like
Copy code
const checksum = md5(my-lock-file-here)
const baseImage = docker.buildAndPushImage('baseImage', {
  onlyIfChanged: checksum
})
and then use the stack to keep track of it
And finally use an
ARG
in my Dockerfile to insert that baseimage into my main image