Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/workflows/publish_canary_docker.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,23 @@ on:
required: true
type: boolean
description: "Is this a release image?"
branches:
- release-*
jobs:
publish-canary-docker:
name: publish to DockerHub
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'microsoft/playwright-java'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: azure/docker-login@v1
with:
login-server: playwright.azurecr.io
username: playwright
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker QEMU for arm64 docker builds
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: ./utils/docker/publish_docker.sh stable
if: (github.event_name != 'workflow_dispatch' && !github.event.release.prerelease) || (github.event_name == 'workflow_dispatch' && github.event.inputs.is_release == 'true')
- run: ./utils/docker/publish_docker.sh canary
Expand Down
6 changes: 0 additions & 6 deletions utils/docker/publish_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ else
exit 1
fi

if [[ -z "${GITHUB_SHA}" ]]; then
echo "ERROR: GITHUB_SHA env variable must be specified"
exit 1
fi

FOCAL_TAGS=(
"next-focal"
)
Expand All @@ -46,7 +41,6 @@ fi
JAMMY_TAGS=(
"next"
"next-jammy"
"sha-${GITHUB_SHA}"
)

if [[ "$RELEASE_CHANNEL" == "stable" ]]; then
Expand Down