Skip to content

Build Ubuntu 22.04 Image #53

Build Ubuntu 22.04 Image

Build Ubuntu 22.04 Image #53

name: Build Ubuntu 22.04 Image
on:
push:
branches:
- main
paths:
- 'ubuntu-22.04/*'
- '.github/workflows/build-ubuntu-22.04.yml'
pull_request:
paths:
- 'ubuntu-22.04/*'
- '.github/workflows/build-ubuntu-22.04.yml'
workflow_dispatch:
schedule:
- cron: '30 12 * * 5'
concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
cancel-in-progress: true
jobs:
build:
uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main
with:
alternate-latest-mode: true
docker-context: "./ubuntu-22.04"
dockerfile: "./ubuntu-22.04/Dockerfile"
dockerhub_imagename: "chianetwork/ubuntu-22.04-builder"
image_subpath: "ubuntu-22.04-builder"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}