devops: use ubuntu 20.04 to build & publish docker releases (#3736)

We rely on `docker push --all-tags` flag that exists only in the
new version of docker.

The PR to docker with the flag: https://github.com/docker/cli/pull/2220
This commit is contained in:
Andrey Lushnikov 2020-09-02 11:46:24 -07:00 committed by GitHub
parent 216db2c9b3
commit df12264655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -13,7 +13,8 @@ on:
jobs:
publish-canary-docker:
name: "publish to DockerHub"
runs-on: ubuntu-18.04
# We use `docker push --all-tags` to push all tags which is a newly addition to docker
runs-on: ubuntu-20.04
if: github.repository == 'microsoft/playwright'
steps:
- uses: actions/checkout@v2

View file

@ -24,7 +24,8 @@ jobs:
publish-docker-release:
name: "publish to DockerHub"
runs-on: ubuntu-18.04
# We use `docker push --all-tags` to push all tags which is a newly addition to docker
runs-on: ubuntu-20.04
if: github.repository == 'microsoft/playwright'
steps:
- uses: actions/checkout@v2