Files
stack/components/Earthfile

21 lines
448 B
Plaintext

VERSION 0.8
IMPORT github.com/formancehq/earthly:tags/v0.12.0 AS core
IMPORT .. AS stack
deploy:
FROM core+base-image
ARG --required components
BUILD --pass-args ./$components+deploy
deploy-staging:
FROM core+base-image
ARG --required components
BUILD --pass-args ./$components+deploy-staging
run:
LOCALLY
ARG --required TARGET
BUILD ./ledger+$TARGET
BUILD ./operator+$TARGET
BUILD ./payments+$TARGET