File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,9 @@ VOLUME /atomic-storage
575575
576576 @func ( )
577577 /** Creates Docker images for all supported architectures */
578- async createDockerImages ( @argument ( ) tag : string = "latest" ) : Promise < void > {
578+ async createDockerImages (
579+ @argument ( ) tags : string [ ] = [ "develop" ] ,
580+ ) : Promise < void > {
579581 const targets = Object . keys ( TARGET_IMAGE_MAP ) ;
580582
581583 // Build one variant first.
@@ -588,8 +590,10 @@ VOLUME /atomic-storage
588590 . map ( ( target ) => this . createDockerImage ( target ) ) ;
589591
590592 // Publish the multi-platform image with all variants
591- await firstImage . publish ( `joepmeneer/atomic-server:${ tag } ` , {
592- platformVariants : otherVariants ,
593- } ) ;
593+ for ( const tag of tags ) {
594+ await firstImage . publish ( `joepmeneer/atomic-server:${ tag } ` , {
595+ platformVariants : otherVariants ,
596+ } ) ;
597+ }
594598 }
595599}
You can’t perform that action at this time.
0 commit comments