devops: push all tags to docker registry (#3732)

Instead of pushing one specific tag, push repository itself.
This should push all the associated tags.
This commit is contained in:
Andrey Lushnikov 2020-09-02 10:33:54 -07:00 committed by GitHub
parent a4563a85ce
commit 9d999ae1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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