Skip to content

Commit

Permalink
fix: compare strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 14, 2024
1 parent 1df0f09 commit 44012a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:

# Docker build
- name: Set up Docker Buildx
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v3
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
env:
TAG: ${{ steps.release.outputs.version }}
with:
Expand All @@ -52,18 +52,18 @@ jobs:
# Helm Chart
- name: Configure Git
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Run chart-releaser
uses: helm/[email protected]
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.release_created == 'true' }}
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 44012a7

Please sign in to comment.