@@ -377,17 +377,23 @@ tag_latest:
377377 docker tag $(NAME ) /session-queue:$(TAG_VERSION ) $(NAME ) /session-queue:latest
378378 docker tag $(NAME ) /event-bus:$(TAG_VERSION ) $(NAME ) /event-bus:latest
379379 docker tag $(NAME ) /node-base:$(TAG_VERSION ) $(NAME ) /node-base:latest
380- docker tag $(NAME ) /node-chrome:$(TAG_VERSION ) $(NAME ) /node-chrome:latest
381380 docker tag $(NAME ) /node-chromium:$(TAG_VERSION ) $(NAME ) /node-chromium:latest
382- docker tag $(NAME ) /node-edge:$(TAG_VERSION ) $(NAME ) /node-edge:latest
383381 docker tag $(NAME ) /node-firefox:$(TAG_VERSION ) $(NAME ) /node-firefox:latest
384382 docker tag $(NAME ) /node-docker:$(TAG_VERSION ) $(NAME ) /node-docker:latest
385- docker tag $(NAME ) /standalone-chrome:$(TAG_VERSION ) $(NAME ) /standalone-chrome:latest
386383 docker tag $(NAME ) /standalone-chromium:$(TAG_VERSION ) $(NAME ) /standalone-chromium:latest
387- docker tag $(NAME ) /standalone-edge:$(TAG_VERSION ) $(NAME ) /standalone-edge:latest
388384 docker tag $(NAME ) /standalone-firefox:$(TAG_VERSION ) $(NAME ) /standalone-firefox:latest
389385 docker tag $(NAME ) /standalone-docker:$(TAG_VERSION ) $(NAME ) /standalone-docker:latest
390386 docker tag $(NAME ) /video:$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) $(NAME ) /video:latest
387+ case " $( PLATFORMS) " in * linux/amd64* ) \
388+ docker tag $(NAME ) /node-chrome:$(TAG_VERSION ) $(NAME ) /node-chrome:latest && \
389+ docker tag $(NAME ) /standalone-chrome:$(TAG_VERSION ) $(NAME ) /standalone-chrome:latest && \
390+ docker tag $(NAME ) /node-edge:$(TAG_VERSION ) $(NAME ) /node-edge:latest && \
391+ docker tag $(NAME ) /standalone-edge:$(TAG_VERSION ) $(NAME ) /standalone-edge:latest \
392+ ;; \
393+ * ) \
394+ echo " Tagged other images, except Chrome and Edge Node/Standalone don't support platform $( PLATFORMS) " ; \
395+ ;; \
396+ esac
391397
392398release_ffmpeg_latest :
393399 docker push $(NAME ) /ffmpeg:latest
@@ -427,17 +433,23 @@ tag_nightly:
427433 docker tag $(NAME ) /session-queue:$(TAG_VERSION ) $(NAME ) /session-queue:nightly
428434 docker tag $(NAME ) /event-bus:$(TAG_VERSION ) $(NAME ) /event-bus:nightly
429435 docker tag $(NAME ) /node-base:$(TAG_VERSION ) $(NAME ) /node-base:nightly
430- docker tag $(NAME ) /node-chrome:$(TAG_VERSION ) $(NAME ) /node-chrome:nightly
431436 docker tag $(NAME ) /node-chromium:$(TAG_VERSION ) $(NAME ) /node-chromium:nightly
432- docker tag $(NAME ) /node-edge:$(TAG_VERSION ) $(NAME ) /node-edge:nightly
433437 docker tag $(NAME ) /node-firefox:$(TAG_VERSION ) $(NAME ) /node-firefox:nightly
434438 docker tag $(NAME ) /node-docker:$(TAG_VERSION ) $(NAME ) /node-docker:nightly
435- docker tag $(NAME ) /standalone-chrome:$(TAG_VERSION ) $(NAME ) /standalone-chrome:nightly
436439 docker tag $(NAME ) /standalone-chromium:$(TAG_VERSION ) $(NAME ) /standalone-chromium:nightly
437- docker tag $(NAME ) /standalone-edge:$(TAG_VERSION ) $(NAME ) /standalone-edge:nightly
438440 docker tag $(NAME ) /standalone-firefox:$(TAG_VERSION ) $(NAME ) /standalone-firefox:nightly
439441 docker tag $(NAME ) /standalone-docker:$(TAG_VERSION ) $(NAME ) /standalone-docker:nightly
440442 docker tag $(NAME ) /video:$(FFMPEG_TAG_VERSION ) -$(BUILD_DATE ) $(NAME ) /video:nightly
443+ case " $( PLATFORMS) " in * linux/amd64* ) \
444+ docker tag $(NAME ) /node-chrome:$(TAG_VERSION ) $(NAME ) /node-chrome:nightly && \
445+ docker tag $(NAME ) /standalone-chrome:$(TAG_VERSION ) $(NAME ) /standalone-chrome:nightly && \
446+ docker tag $(NAME ) /node-edge:$(TAG_VERSION ) $(NAME ) /node-edge:nightly && \
447+ docker tag $(NAME ) /standalone-edge:$(TAG_VERSION ) $(NAME ) /standalone-edge:nightly \
448+ ;; \
449+ * ) \
450+ echo " Tagged other images, except Chrome and Edge Node/Standalone don't support platform $( PLATFORMS) " ; \
451+ ;; \
452+ esac
441453
442454release_nightly : release_grid_scaler_nightly
443455 docker push $(NAME ) /base:nightly
0 commit comments