From 9b03e78ca6a611d99ccb02bfb4c12e95c6311563 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Wed, 5 Mar 2025 09:53:17 +0000 Subject: [PATCH] Add tasks to build and push docker image --- mise.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mise.toml b/mise.toml index 53cfd297..78876073 100644 --- a/mise.toml +++ b/mise.toml @@ -63,3 +63,11 @@ run = 'mix test' [tasks.console] description = 'Run the application attached to an IEx console' run = 'iex -S mix phx.server' + +[tasks.docker-build] +description = 'Builds and tags the application Docker image' +run = 'docker build -t fullyforged/music_library .' + +[tasks.docker-push] +description = 'Push the image to the registry' +run = 'docker push fullyforged/music_library'