From df1226465547cc4944378228dc425c887362f456 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 2 Sep 2020 11:46:24 -0700 Subject: [PATCH] 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 --- .github/workflows/publish_canary_docker.yml | 3 ++- .github/workflows/publish_release.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_canary_docker.yml b/.github/workflows/publish_canary_docker.yml index ab84351638..eb79d81953 100644 --- a/.github/workflows/publish_canary_docker.yml +++ b/.github/workflows/publish_canary_docker.yml @@ -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 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 1d218b1a62..775090ce81 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -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