Skip to content

TangerieOrg/Workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Workflows

Docker

Build & Push

TangerieOrg/Workflows/.github/workflows/docker-build-push.yml@main

Inputs

image_name:
  description: "The base name of the image (not including tags or registry)"
  default: "ERROR"
  required: true
  type: string
registry_name:
    description: "The name of the registry"
    default: "docker.tangerie.xyz"
    required: false
    type: string
ref:
  description: "branch"
  default: ""
  required: true
  type: string
path:
  default: "."
  required: false
  type: string

Example

build-api:
  uses: TangerieOrg/Workflows/.github/workflows/docker-build-push.yml@main
  with:
    image_name: everything-codex-api
    registry_name: docker.tangerie.xyz
    ref: main
    path: api
  secrets: inherit

Deploy

TangerieOrg/Workflows/.github/workflows/docker-deploy.yml@main

Inputs

image_name:
  description: "The base name of the image (not including tags or registry)"
  default: "ERROR"
  required: true
  type: string
registry_name:
  description: "The name of the registry"
  default: "docker.tangerie.xyz"
  required: false
  type: string
compose_file_path:
  description: "Path of compose file"
  default: "docker-compose.yml"
  required: false
  type: string

Examples

deploy:
  uses: TangerieOrg/Workflows/.github/workflows/docker-deploy.yml@main
  needs: 
    - build-api
    - build-frontend
  with:
    image_name: everything-codex
    registry_name: docker.tangerie.xyz
  secrets: inherit

About

A collection of my github workflows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published