Skip to content

Commit

Permalink
Merge pull request #983 from Azure/fix-job-config
Browse files Browse the repository at this point in the history
Various image-sync fixes
  • Loading branch information
janboll authored Dec 13, 2024
2 parents a0365ec + 7804e45 commit 8d3c113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-infrastructure/templates/image-sync.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var secretsFolder = '/etc/containers'
var secretWithFolderPrefix = [
for css in csSecrets: {
registry: css.registry
secretFile: '${secretsFolder}/${css.secret}'
secretFile: '/auth/${css.secret}'
}
]

Expand Down Expand Up @@ -251,7 +251,7 @@ resource componentSyncJob 'Microsoft.App/jobs@2024-03-01' = if (componentSyncEna
]
args: [
'-c'
'cat /tmp/secret-orig/pull-secrets |base64 -d > /etc/containers/config.json && cd /tmp/secrets; for file in $(find . -type f); do; export fn=$(basename $file); cat $file | base64 -d > ${secretsFolder}/$fn; done;'
'cat /tmp/secret-orig/pull-secrets |base64 -d > /etc/containers/config.json && cd /tmp/secrets; for file in $(find . -type f); do export fn=$(basename $file); cat $file | base64 -d > ${secretsFolder}/$fn; done;'
]
volumeMounts: union(
[
Expand Down

0 comments on commit 8d3c113

Please sign in to comment.