Skip to content

ovrclk/akash-ghaction-templated-sdl

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Templated SDL Files for Automated Deployments

Easily update Akash SDL files, with dynamic values to drive automated deployments.

Inputs

TEMPLATE_PATH

(default: deploy.tmpl) template file to target for transform

OUT_PATH

(default: deploy.yaml) target file to output transformed file

Example usage

In the github action runner, pass the templated values to the step as env variables. Additionally you can set TEMPLATE_PATH and OUT_PATH

- name: Akash Update SDL
    uses: ovrclk/akash-ghaction-templated-sdl@v1
    env:
        MY_KEY: MY_VALUE

Create a file deploy.tmpl as an example. Use the template placeholder, where dynamic values are required. {{ .Env.MY_KEY }}

version: "2.0"

services:
  web:
    image: myimage:{{ .Env.MY_KEY }}

About

Dynamically update the Akash Deployment SDL

Resources

Stars

Watchers

Forks

Packages

No packages published