mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
38d9c4d19c
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
964 B
YAML
39 lines
964 B
YAML
# This workflow builds a docker image with the Dev Container CLI (https://github.com/devcontainers/cli)
|
|
#
|
|
name: 'Build Dev Container Image'
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- '.devcontainer/**'
|
|
schedule:
|
|
# https://crontab.guru/#0_0_*_*_1
|
|
- cron: '0 0 * * 1'
|
|
|
|
permissions:
|
|
contents: read
|
|
# Push images to GHCR.
|
|
packages: write
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository == 'SerenityOS/serenity'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build Base Dev Container Image
|
|
uses: devcontainers/ci@v0.3
|
|
with:
|
|
imageName: ghcr.io/serenityos/serenity-devcontainer
|
|
imageTag: base,latest
|
|
push: always
|