34 lines
716 B
YAML
34 lines
716 B
YAML
|
name: Verifies PR
|
||
|
on:
|
||
|
pull_request:
|
||
|
types:
|
||
|
- synchronize
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
schedule:
|
||
|
- cron: '0 0 * * *'
|
||
|
workflow_dispatch: {}
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: docker
|
||
|
steps:
|
||
|
- name: Install node
|
||
|
uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: latest
|
||
|
-
|
||
|
name: Login to Docker Hub
|
||
|
uses: docker/login-action@v3
|
||
|
with:
|
||
|
registry: code.bcarlin.net
|
||
|
username: ${{ github.actor }}
|
||
|
password: ${{ github.token }}
|
||
|
-
|
||
|
name: Build and push
|
||
|
uses: docker/build-push-action@v6
|
||
|
with:
|
||
|
push: true
|
||
|
pull: true
|
||
|
tags: code.bcarlin.net/oci/browsers:latest
|