Build with rust and docker #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |