Pass Fluxon secrets when building docker locally
This commit is contained in:
@@ -174,7 +174,13 @@ 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 = '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"]
|
[tasks."docker:push"]
|
||||||
description = 'Push the image to the registry'
|
description = 'Push the image to the registry'
|
||||||
|
|||||||
Reference in New Issue
Block a user