2022-02-08 16:50:13 -08:00
|
|
|
name: zcash-params
|
|
|
|
|
2022-08-29 17:11:05 -07:00
|
|
|
# Ensures that only one workflow task will run at a time. Previous deployments, if
|
|
|
|
# already in process, won't get cancelled. Instead, we let the first to complete
|
|
|
|
# then queue the latest pending workflow, cancelling any workflows in between
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: false
|
|
|
|
|
2022-02-08 16:50:13 -08:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
2023-06-07 22:44:30 -07:00
|
|
|
inputs:
|
|
|
|
no_cache:
|
|
|
|
description: 'Disable the Docker cache for this build'
|
|
|
|
required: false
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
|
2022-02-10 03:31:33 -08:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
2022-02-11 06:05:19 -08:00
|
|
|
paths:
|
2022-03-02 06:23:05 -08:00
|
|
|
# parameter download code
|
2022-02-08 16:50:13 -08:00
|
|
|
- 'zebra-consensus/src/primitives/groth16/params.rs'
|
2023-06-27 19:34:46 -07:00
|
|
|
- 'zebra-consensus/src/router.rs'
|
|
|
|
- 'zebrad/src/commands/download.rs'
|
2022-02-08 16:50:13 -08:00
|
|
|
- 'zebrad/src/commands/start.rs'
|
2022-03-02 06:23:05 -08:00
|
|
|
# workflow definitions
|
2022-03-02 01:00:55 -08:00
|
|
|
- 'docker/zcash-params/Dockerfile'
|
2023-06-27 19:34:46 -07:00
|
|
|
- '.dockerignore'
|
2022-02-08 16:50:13 -08:00
|
|
|
- '.github/workflows/zcash-params.yml'
|
2022-05-09 12:54:16 -07:00
|
|
|
- '.github/workflows/build-docker-image.yml'
|
2022-02-08 16:50:13 -08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-11-06 17:59:32 -08:00
|
|
|
name: Build Zcash Params Docker
|
2022-05-09 12:54:16 -07:00
|
|
|
uses: ./.github/workflows/build-docker-image.yml
|
2022-04-28 01:13:35 -07:00
|
|
|
with:
|
|
|
|
dockerfile_path: ./docker/zcash-params/Dockerfile
|
2022-05-10 14:00:09 -07:00
|
|
|
dockerfile_target: release
|
2022-04-28 01:13:35 -07:00
|
|
|
image_name: zcash-params
|
2023-06-07 22:44:30 -07:00
|
|
|
no_cache: ${{ inputs.no_cache || false }}
|
2022-04-28 01:13:35 -07:00
|
|
|
rust_backtrace: full
|
|
|
|
rust_lib_backtrace: full
|
|
|
|
rust_log: info
|