Skip to content

Commit

Permalink
Merge pull request #28 from backstage/djam/docker
Browse files Browse the repository at this point in the history
chore: also push docker image on update
  • Loading branch information
djamaile authored Oct 25, 2023
2 parents 5ea68d0 + 9d1f7f8 commit 1e99ed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/programs/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const AWSProgram = (opts: OptionValues) => {
// eslint-disable-next-line no-new
new local.Command('docker push', {
create: `docker push ${repositoryUrl}`,
update: `docker push ${repositoryUrl}`,
});
} else {
if (!fs.existsSync(opts.dockerfile)) {
Expand Down

0 comments on commit 1e99ed5

Please sign in to comment.