Skip to content

build-develop

build-develop #33

Workflow file for this run

name: build-develop
on:
schedule:
- cron: '0 3 * * *'
push:
branches:
- 'main'
paths:
- 'build/**'
pull_request:
branches:
- 'main'
paths:
- 'build/**'
workflow_dispatch:
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
# if: github.event_name == 'push' || github.event_name == 'pull_request'
test:
uses: ./.github/workflows/test.yml
with:
# The name of the image to test.
docker_files_name: 'Dockerfile'
secrets: inherit
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
# TAG_SUFFIX="nightly-$(date +'%Y%m%d')"
push:
uses: ./.github/workflows/publish.yml
needs: test
with:
# The name of the image to push.
docker_files_name: 'Dockerfile'
secrets: inherit