devops: another attempt to figure out docker publishing (#3721)

This commit is contained in:
Andrey Lushnikov 2020-09-01 17:32:16 -07:00 committed by GitHub
parent ee1becd897
commit 47ea1e07ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,9 +32,9 @@ jobs:
# build docker image # build docker image
./docs/docker/build.sh ./docs/docker/build.sh
# tag image accordingly # tag image accordingly
docker tag playwright:localbuild public/playwright:next docker tag playwright:localbuild playwright.azurecr.io/public/playwright:next
docker tag playwright:localbuild public/playwright:sha-${{ github.sha }} docker tag playwright:localbuild playwright.azurecr.io/public/playwright:sha-${{ github.sha }}
docker rmi playwright:localbuild docker rmi playwright:localbuild
# push image to registry # push image to registry
docker push public/playwright:next docker push playwright.azurecr.io/public/playwright:next