chore(deps): update dependency helmfile/helmfile to v1.7.2 (#228) #166
This file contains hidden or 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
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "v3*" | |
| paths: | |
| - .github/workflows/pr.yaml | |
| - Dockerfile | |
| env: | |
| IMAGE_PATH: ${{ vars.IMAGE_PATH }} | |
| jobs: | |
| # Push image to GitHub Packages. | |
| docker: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Log in to GitHub Package Registry | |
| run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin | |
| - name: Set image tag from Git ref | |
| run: | | |
| # Strip git ref prefix from version | |
| IMAGE_TAG=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') | |
| # Strip "v" prefix from tag name | |
| [[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_TAG=$(echo $IMAGE_TAG | sed -e 's/^v//') | |
| # Use Docker `latest` tag convention | |
| [ "$IMAGE_TAG" == "main" ] && IMAGE_TAG=latest | |
| echo "IMAGE_TAG=${IMAGE_TAG}" | tee -a $GITHUB_ENV | |
| - name: Build docker image | |
| run: make docker-build | |
| - name: Push docker image | |
| run: make docker-push |