Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lukasvdberk/compose-deploy-action

Repository files navigation

NOTE

This is a work in progress and is not ready for use yet.

Github action

This GitHub action is responsible for building and deploying the specified docker compose file to ComposeDeploy.

The GitHub action will do the following.

  1. Build the docker compose file
  2. Push the docker compose file to the specified registry (using the generated api key(password) and project id(username))
  3. Upload the docker compose to the API backend (so the backend know what services to start etc).
  4. Tell the API to setup to deploy the docker compose file.
  5. Wait for the API to finish deploying the docker compose file.
  6. Done!

Setup

This action is created using nodejs 20 and Typescript.

Create a new version

Make sure you first build the changes in the code.

npm run build

To release a new version you need to create a git tag with the version number. This will trigger the GitHub action to build and publish the new version to the GitHub marketplace.

# replace release name with the version number
git tag -a -m "ReleaseName" v1
# push the tags to Github
git push --follow-tags

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published