Code Monkey home page Code Monkey logo

github.workflows's People

Contributors

teddybeermaniac avatar

github.workflows's Issues

Fix latest Docker tag

Tasks:

  • Add latest tag when building from tag git ref in addition to master branch.

Allow changing Dockerfile path

Tasks:

  • Add support for specifying alternate Dockerfile path in docker-build-image.yml.
  • Update caprover-deploy-dockerfile.yml if needed.

Remove untagged Docker images

Notes:

Tasks:

  • Add step in docker-build-image.yml which removes untagged Docker images using actions/github-script.
  • Add tag_commits input in docker-build-image.yml which controls whether to create commit SHA tag.
  • Update caprover-deploy-dockerfile.yml.
  • Update README file.

Create generic Docker build workflow

Notes:

  • The workflow should be able to build containers for any platform (amd64, arm64, etc.) using docker/setup-buildx-action and setup-qemu-action.
  • The resulting image should always be tagged with latest. Additionally when built from a tag, it should be tagged with vMAJOR, vMAJOR.MINOR, and vMAJOR.MINOR.PATCH. If built from a commit it should be tagged with its short hash.
  • docker/build-push-action should use GitHub cache to cache the layers.
  • After being built, the image should be pushed to ghcr.io.

Tasks:

  • Implement docker-build-image.yml workflow which builds and pushes a Docker image.
  • Refactor caprover-deploy-dockerfile.yml to use the new workflow.
  • Add usage examples.

Fix usage examples

Tasks:

  • Fix missing parameters in docker-build-image.yml and caprover-deploy-dockerfile.yml usage examples.

Add custom HTTP header to CapRover deployments

Notes:

  • To allow passing an additional HTTP header when interacting with CapRover, the official CLI should be replaced with direct usage of the API. An added benefit would be a faster deployment as there'll be no need to pull the caprover/cli-caprover container.

Tasks:

  • Replace usage of caprover/cli-caprover container with a Python script which uses CapRover's API directly.
  • Add secret parameters for the header name and value.
  • Update usage examples to add the new parameters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.