drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

add docker build and push to container registry

Open joao-zanutto opened this issue 1 year ago • 5 comments

Adds GitHub Actions workflow that builds and push a docker image to ghcr.io container registry.

  • workflow is triggered on a new tag being pushed in the repository
  • image is tagged with two tags: :versionTag and :latest

Requires initial setup of GitHub Container Registry or Dockerhub from repository mainteners

closes #11

joao-zanutto avatar Apr 15 '24 17:04 joao-zanutto

@joao-zanutto is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 15 '24 17:04 vercel[bot]

Initial commit was made with a personal Dockerhub repository for testing purposes, but it considers ghcr.io as target registry, however it can also be changed to support Dockerhub instead (can also support both registries in parallel).

I can assist on the initial registry setup for ghcr.io/Dockerhub, just let me know if assistance is needed

joao-zanutto avatar Apr 15 '24 17:04 joao-zanutto

Image built and tested with act and available on test repo in Dockerhub

Run it with docker run -p 8080:80 jpberno/test-deawdb:latest and then go to http://localhost:8080/ to check it's working.

I'll be updating the workflow to remove testing credentials, trigger and registry

joao-zanutto avatar Apr 15 '24 21:04 joao-zanutto

Arm support would be great.

DenuxPlays avatar Apr 17 '24 06:04 DenuxPlays

Is this going to be merged?

DenuxPlays avatar Jul 24 '24 08:07 DenuxPlays

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drawdb ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2024 0:04am

vercel[bot] avatar Jul 25 '24 00:07 vercel[bot]