Allow the option to monitor argocd apps in other namespaces (#320) #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
env: | |
FS_IMAGE: ghcr.io/${{ github.repository }} | |
jobs: | |
release-docker: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # necessary for 'git describe' to work | |
- run: echo "GIT_TAG=$(git describe --tags)" >> $GITHUB_ENV | |
- uses: ./.github/actions/build-image | |
with: | |
push: 'true' | |
image_tag: ${{ env.GIT_TAG }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
release-helm: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- name: checkout the source code | |
uses: actions/checkout@v3 | |
- uses: wistia/[email protected] | |
- uses: earthly/actions-setup@v1 | |
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" } | |
- name: Build and push the helm charts | |
run: | | |
./earthly.sh \ | |
--push \ | |
+release-helm \ | |
--repo_owner ${{ github.repository_owner }} \ | |
--token ${{ secrets.GITHUB_TOKEN }} | |