From 9d999ae1f04de1ed4e675d9f4e4f689d249bcf4e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 2 Sep 2020 10:33:54 -0700 Subject: [PATCH] devops: push all tags to docker registry (#3732) Instead of pushing one specific tag, push repository itself. This should push all the associated tags. --- .github/workflows/publish_canary_docker.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish_canary_docker.yml b/.github/workflows/publish_canary_docker.yml index 2c00fcf542..0e8b74d826 100644 --- a/.github/workflows/publish_canary_docker.yml +++ b/.github/workflows/publish_canary_docker.yml @@ -27,14 +27,10 @@ jobs: node-version: 10.15 - run: npm ci - run: npm run build - - name: docker - build & publish + - run: ./docs/docker/build.sh + - name: tag & publish run: | - # build docker image - ./docs/docker/build.sh - # tag image accordingly docker tag playwright:localbuild playwright.azurecr.io/public/playwright:next docker tag playwright:localbuild playwright.azurecr.io/public/playwright:sha-${{ github.sha }} - docker rmi playwright:localbuild - # push image to registry - docker push playwright.azurecr.io/public/playwright:next + docker push --all-tags playwright.azurecr.io/public/playwright