mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
e7ddf868bf
We currently tag tip-of-tree docker images with `dev` tag. It'll be much nicer to have consistent taggin with our `npm` which tags with `next` tag. This patch removes the `dev` tag and starts using the `next` tag instead for docker images. Since we haven't announced `dev` tag support anywhere, I think it's fine to remove it rather than have both `next` and `dev`.
35 lines
770 B
YAML
35 lines
770 B
YAML
name: "devrelease"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
paths:
|
|
- docs/docker/**
|
|
- browsers.json
|
|
|
|
jobs:
|
|
publish-canary-docker:
|
|
name: "publish to DockerHub"
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10.15
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: ./docs/docker/build.sh --prepare-context
|
|
- uses: docker/build-push-action@v1
|
|
with:
|
|
username: playwright
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
registry: playwright.azurecr.io
|
|
repository: public/playwright
|
|
path: docs/docker/
|
|
dockerfile: docs/docker/Dockerfile.bionic
|
|
tags: next
|
|
tag_with_sha: true
|
|
|