Skip to content

Commit

Permalink
chore: update Earthly version and enhance deployment workflow
Browse files Browse the repository at this point in the history
Update Earthfile to use Earthly v0.16.2.
Enhance GitHub Actions workflow to include COMPONENT and
ARGOCD_REGION_AUTH_TOKEN for staging deployment.
  • Loading branch information
flemzord committed Sep 25, 2024
1 parent e772a5b commit 1b480cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,12 @@ jobs:
- name: "Deploy in staging"
env:
TAG: ${{ github.sha }}
COMPONENT: webhooks
ARGOCD_REGION_AUTH_TOKEN: ${{ secrets.ARGOCD_REGION_AUTH_TOKEN }}
run: >
earthly
--no-output
--secret AUTH_TOKEN=$ARGOCD_REGION_AUTH_TOKEN
+deploy-staging
--TAG=$TAG
--TAG=$TAG
--COMPONENT=$COMPONENT
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION 0.8

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

Expand Down

0 comments on commit 1b480cf

Please sign in to comment.