HH-686: initialize fingerprint Chromium Docker packaging (#1)
Build and publish image / image (push) Successful in 3m15s

This commit was merged in pull request #1.
This commit is contained in:
2026-08-26 13:05:42 +08:00
parent 2d23f58ddb
commit 4a7f67ec06
8 changed files with 261 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Build and publish image
on:
pull_request:
push:
branches: [main]
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check scripts
run: ./tests/check.sh
- name: Log in to GitHub Container Registry
if: github.event_name != 'pull_request'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.actor }}" --password-stdin
- name: Build image
env:
PUSH: ${{ github.event_name != 'pull_request' }}
run: ./scripts/build.sh ghcr.io/rogeecn/fingerprint-chromium