diff --git a/.github/workflows/echo-appversion.yml b/.github/workflows/echo-appversion.yml new file mode 100644 index 0000000..c1806b3 --- /dev/null +++ b/.github/workflows/echo-appversion.yml @@ -0,0 +1,20 @@ +name: Echo Appversion +on: + push: + branches: + - image-versioning + +jobs: + echo: + name: Echo Appversion + runs-on: ubuntu-latest + env: + TAGS: $(yq e '.appVersion' charts/swr-cache-proxy/Chart.yaml) + steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - run: ls -la + - run: ls -la charts/swr-cache-proxy + - run: pwd + - run: echo "${{ env.TAGS }}" diff --git a/charts/swr-cache-proxy/Chart.yaml b/charts/swr-cache-proxy/Chart.yaml index c76a6a9..34b4d8a 100644 --- a/charts/swr-cache-proxy/Chart.yaml +++ b/charts/swr-cache-proxy/Chart.yaml @@ -13,4 +13,4 @@ version: 0.1.1 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.0" +appVersion: "2.0.0"