mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
a4563a85ce
commit
9d999ae1f0
10
.github/workflows/publish_canary_docker.yml
vendored
10
.github/workflows/publish_canary_docker.yml
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user