Skip to content

Run CI/CD Docker Workflow #7

Run CI/CD Docker Workflow

Run CI/CD Docker Workflow #7

# Docker build and push workflow
name: Run CI/CD Docker Workflow
on:
workflow_dispatch:
#
# Should be run on a cron schedule every Thursday night, prior to the weekly workflow.
#
# Does not need to run on a repo-specific event (e.g., "push" or PR), since the latest
# versions of all other rcsb.* packages are downloaded anyway (so, not dependent on any
# single package in particular).
#
schedule:
# Time is based on UTC timezone
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# * * * * *
- cron: "0 20 * * THU"
jobs:
run-workflow:
name: "Run automated docker workflow"
uses: rcsb/devops-cicd-github-actions/.github/workflows/workflow-docker.yaml@master
with:
dockerfile_location: "Dockerfile" # The location of the Dockerfile relative to the root of the repository. Defaults to "Dockerfile".
repo_project: "rcsb" # REQUIRED. The name of the project or organization in the remote Docker image repository.
docker_image_name: "rcsb-exdb" # REQUIRED. The name of the Docker image to create.
docker_build_context: "." # The path location of the docker build context, relative to the project root. Defaults to the project root.