We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 848c82e commit c0e8db8Copy full SHA for c0e8db8
1 file changed
apps/webapp/app/v3/getDeploymentImageRef.server.ts
@@ -213,7 +213,14 @@ async function createEcrRepository({
213
const result = await ecr.send(
214
new CreateRepositoryCommand({
215
repositoryName,
216
- imageTagMutability: "IMMUTABLE",
+ imageTagMutability: "IMMUTABLE_WITH_EXCLUSION",
217
+ imageTagMutabilityExclusionFilters: [
218
+ {
219
+ // only the `cache` tag will be mutable, all other tags will be immutable
220
+ filter: "cache",
221
+ filterType: undefined,
222
+ },
223
+ ],
224
encryptionConfiguration: {
225
encryptionType: "AES256",
226
},
0 commit comments