Pin Playwright version to 1.52.0 to match package.json #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Base Image | |
| on: | |
| push: | |
| paths: | |
| - 'Dockerfile.base' | |
| - 'scripts/retry.sh' | |
| branches: | |
| - master | |
| schedule: | |
| # Monthly rebuild on 1st of each month at 3am UTC | |
| - cron: '0 3 1 * *' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| file: ./Dockerfile.base | |
| push: true | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/freegle-base:latest | |
| ghcr.io/${{ github.repository_owner }}/freegle-base:${{ github.sha }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |