HH-686: initialize fingerprint Chromium Docker packaging (#1)
Build and publish image / image (push) Successful in 3m15s
Build and publish image / image (push) Successful in 3m15s
This commit was merged in pull request #1.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user