Skip to content

Build with rust and docker #114

Build with rust and docker

Build with rust and docker #114

Workflow file for this run

name: Build with rust and docker
on:
push:
workflow_dispatch:
pull_request:
schedule:
# Fetch new base image updates every night at 1am
- cron: '0 1 * * *'
jobs:
build-with-samply:
uses: samply/github-workflows/.github/workflows/rust.yml@main
with:
# For information on these variables, please refer to https://github.com/samply/github-workflows/tree/main/.github/workflows/rust.yml
# Docker Hub name will be {image-prefix}{component}
image-prefix: "samply/"
components: '[ "beamctl" ]'
#architectures: '[ "amd64" ]'
#profile: debug
#test-via-script: true
#features: '[ ]'
push-to: ${{ (github.ref_protected == true || github.event_name == 'workflow_dispatch') && 'dockerhub' || 'ghcr' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}