Skip to content

amitca71/githubactions

Repository files navigation

githubactions

app creation:

production deploymennt:

  • script (linux only- not tested):deploy_latest_docker_to_production.sh
  • command line: heroku container:release -a hello-amit web

usage examples:

app server improvement: separate the start and serve app

test improvement:

  • known issue: mocha test with --end, always returns success. not using --end, the process hangs as the server is not being shut down
  • solve the always success test case
  • add applicative test to check the results
  • test with service name and not local host binding

docker improvement:

  • use docker cache and push only tagged versions, as described: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache (on: push: tags: - "v*.."

    git tag -a v1.0.2
    git push origin v1.0.2)
    
  • known issue: the image that is published to dockerhub is redundant for deployment, and can be removed from the pipeline

About

github actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published