browsers/.forgejo/workflows/build.yaml
Bruno Carlin 2a8bae420c
Some checks failed
build image / build (push) Failing after 55s
fix: install docker
2025-01-05 04:09:16 +01:00

34 lines
800 B
YAML

name: build image
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
- run: apt-get update && apt-get install -y --no-install-recommends docker.io
-
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