Pass Fluxon secrets when building docker locally

This commit is contained in:
Claudio Ortolina
2025-06-29 19:20:29 +01:00
parent c359444758
commit f54d7744cf
+7 -1
View File
@@ -174,7 +174,13 @@ run = 'gh gfm-preview README.md'
[tasks."docker:build"]
description = 'Builds and tags the application Docker image'
run = 'docker build -t fullyforged/music_library .'
run = """
docker build \
-t fullyforged/music_library \
--secret id=FLUXON_KEY_FINGERPRINT \
--secret id=FLUXON_LICENSE_KEY \
.
"""
[tasks."docker:push"]
description = 'Push the image to the registry'