From 10cd3242a6dd941ffe8610fc32edcbc3cea23302 Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Wed, 25 Sep 2024 23:27:13 +0200 Subject: [PATCH] chore: update Earthly version and enhance deployment workflow --- .github/workflows/main.yml | 6 +++++- Earthfile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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