Use docker compose to build and push
This commit is contained in:
@@ -187,14 +187,8 @@ run = 'gh gfm-preview README.md'
|
|||||||
|
|
||||||
[tasks."docker:build"]
|
[tasks."docker:build"]
|
||||||
description = 'Builds and tags the application Docker image'
|
description = 'Builds and tags the application Docker image'
|
||||||
run = """
|
run = 'docker compose build'
|
||||||
docker build \
|
|
||||||
-t fullyforged/music_library \
|
|
||||||
--secret id=FLUXON_KEY_FINGERPRINT \
|
|
||||||
--secret id=FLUXON_LICENSE_KEY \
|
|
||||||
.
|
|
||||||
"""
|
|
||||||
|
|
||||||
[tasks."docker:push"]
|
[tasks."docker:push"]
|
||||||
description = 'Push the image to the registry'
|
description = 'Push the image to the registry'
|
||||||
run = 'docker push fullyforged/music_library'
|
run = 'docker compose push'
|
||||||
|
|||||||
Reference in New Issue
Block a user