diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04e1dd3c..9b4cdf71 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -138,8 +138,12 @@ jobs: - name: "Deploy in staging" env: TAG: ${{ github.sha }} + COMPONENT: payments + ARGOCD_REGION_AUTH_TOKEN: ${{ secrets.ARGOCD_REGION_AUTH_TOKEN }} run: > earthly --no-output + --secret AUTH_TOKEN=$ARGOCD_REGION_AUTH_TOKEN +deploy-staging - --TAG=$TAG \ No newline at end of file + --TAG=$TAG + --COMPONENT=$COMPONENT \ No newline at end of file diff --git a/Earthfile b/Earthfile index b3b5bdb1..3847be20 100644 --- a/Earthfile +++ b/Earthfile @@ -1,7 +1,7 @@ VERSION 0.8 PROJECT FormanceHQ/payments -IMPORT github.com/formancehq/earthly:tags/v0.16.1 AS core +IMPORT github.com/formancehq/earthly:tags/v0.16.2 AS core FROM core+base-image