Skip to content

Commit f134748

Browse files
authored
devops: simplify Docker publishing (microsoft#2283)
1 parent 752467d commit f134748

File tree

3 files changed

+1
-41
lines changed

3 files changed

+1
-41
lines changed

.github/workflows/publish_canary_docker.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/publish_release_docker.yml renamed to .github/workflows/publish_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
publish-docker-release:
1616
name: "publish to DockerHub"
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1818
if: github.repository == 'microsoft/playwright-python'
1919
steps:
2020
- uses: actions/checkout@v3

utils/docker/publish_docker.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ else
2626
exit 1
2727
fi
2828

29-
if [[ -z "${GITHUB_SHA}" ]]; then
30-
echo "ERROR: GITHUB_SHA env variable must be specified"
31-
exit 1
32-
fi
33-
3429
FOCAL_TAGS=(
3530
"next-focal"
3631
)
@@ -42,7 +37,6 @@ fi
4237
JAMMY_TAGS=(
4338
"next"
4439
"next-jammy"
45-
"sha-${GITHUB_SHA}"
4640
)
4741
if [[ "$RELEASE_CHANNEL" == "stable" ]]; then
4842
JAMMY_TAGS+=("latest")

0 commit comments

Comments
 (0)