Skip to content

Commit

Permalink
bump playwright to 1.46.0
Browse files Browse the repository at this point in the history
  • Loading branch information
up9cloud committed Aug 6, 2024
1 parent 9b7e7a8 commit 07a099c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on: [push]
env:
PLAYWRIGHT_VERSION: 1.46.0
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,30 +26,40 @@ jobs:
platforms: linux/amd64,linux/arm64
file: ./debian-11/Dockerfile
tags: sstc/headful-chromium:debian-11
build-args: |
PLAYWRIGHT_VERSION=${{env.PLAYWRIGHT_VERSION}}
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./debian-12/Dockerfile
tags: sstc/headful-chromium:debian-12
build-args: |
PLAYWRIGHT_VERSION=${{env.PLAYWRIGHT_VERSION}}
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-20/Dockerfile
tags: sstc/headful-chromium:ubuntu-20
build-args: |
PLAYWRIGHT_VERSION=${{env.PLAYWRIGHT_VERSION}}
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-22/Dockerfile
tags: sstc/headful-chromium:ubuntu-22
build-args: |
PLAYWRIGHT_VERSION=${{env.PLAYWRIGHT_VERSION}}
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-24/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
build-args: |
PLAYWRIGHT_VERSION=${{env.PLAYWRIGHT_VERSION}}
- uses: actions/checkout@v4
- uses: christian-korneck/update-container-description-action@v1
env:
Expand Down
3 changes: 2 additions & 1 deletion debian-11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ARG PLAYWRIGHT_VERSION
FROM debian:11-slim

RUN set -ex; \
Expand Down Expand Up @@ -28,4 +29,4 @@ RUN set -e; \

RUN set -e; \
npm -g install \
playwright
playwright@${PLAYWRIGHT_VERSION}
3 changes: 2 additions & 1 deletion debian-12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ARG PLAYWRIGHT_VERSION
FROM debian:12-slim

RUN set -ex; \
Expand Down Expand Up @@ -28,4 +29,4 @@ RUN set -e; \

RUN set -e; \
npm -g install \
playwright
playwright@${PLAYWRIGHT_VERSION}
3 changes: 2 additions & 1 deletion ubuntu-20/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# https://github.com/microsoft/playwright/blob/main/utils/docker/Dockerfile.focal
# playwright version: https://github.com/microsoft/playwright/releases
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.1-focal
ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-focal

# RUN set -ex; \
# apt-get update; \
Expand Down
3 changes: 2 additions & 1 deletion ubuntu-22/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# https://github.com/microsoft/playwright/blob/main/utils/docker/Dockerfile.jammy
# playwright version: https://github.com/microsoft/playwright/releases
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.1-jammy
ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-jammy

# RUN set -ex; \
# apt-get update; \
Expand Down
3 changes: 2 additions & 1 deletion ubuntu-24/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# https://github.com/microsoft/playwright/blob/main/utils/docker/Dockerfile.noble
# playwright version: https://github.com/microsoft/playwright/releases
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.1-noble
ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble

# RUN set -ex; \
# apt-get update; \
Expand Down

0 comments on commit 07a099c

Please sign in to comment.