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
|
node-version: 10.15
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- name: docker - build & publish
|
- run: ./docs/docker/build.sh
|
||||||
|
- name: tag & publish
|
||||||
run: |
|
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:next
|
||||||
docker tag playwright:localbuild playwright.azurecr.io/public/playwright:sha-${{ github.sha }}
|
docker tag playwright:localbuild playwright.azurecr.io/public/playwright:sha-${{ github.sha }}
|
||||||
docker rmi playwright:localbuild
|
docker push --all-tags playwright.azurecr.io/public/playwright
|
||||||
# push image to registry
|
|
||||||
docker push playwright.azurecr.io/public/playwright:next
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue