Skip to content

cyber-dojo/reusable-actions-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 

Repository files navigation

reusable-actions-workflows

Used by cyber-dojo Org repos in their Github Actions workflows.

  • kosli_build_test.yml
    • Does not push image to dockerhub registry
    • Intended for base images
  • kosli_build_test_push.yml
    • Calls ./build_test_push.sh
  • kosli_deploy.yml
    • Calls ./sh/kosli.sh
    • Runs kosli_expect_deployment twice, once for kosli staging and once for kosli prod.

Typical use is like this:

name: Main

on:
  push:
    branches:
      - main

jobs:
  build-test-push:
    uses: cyber-dojo/reusable-actions-workflows/.github/workflows/[email protected]
    secrets:
      ...
    with:
      BUILD_COMMAND: build_test_publish.sh

The @v0.0.5 refers to tags in this repo:

git tag

v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5

To create a new tag:

git tag -a v0.0.6 -m "Add KOSLI_API_TOKEN_STAGING to all workflows"
git push origin v0.0.6

About

Github Action workflows used by repos in the cyber-dojo Org

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •