Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored Jun 8, 2024
1 parent 49ace58 commit d967743
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:

create_release:
name: Create release
if: needs.check_version.outputs.changed && github.event_name == 'push'
if: needs.check_version.outputs.changed == 'true' && github.event_name == 'push'
needs: [check_version, aur_build]
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
uses: actions/checkout@v4

- name: Log in to Docker Hub
if: ${{ github.event_name == 'push' && needs.check_version.outputs.changed }}"
if: needs.check_version.outputs.changed == 'true' && github.event_name == 'push'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -158,10 +158,10 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build push = ${{ github.event_name == 'push' && needs.check_version.outputs.changed }}"
- name: Build push = ${{ needs.check_version.outputs.changed == 'true'&& github.event_name == 'push' }}"
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name == 'push' && needs.check_version.outputs.changed }}
push: ${{ needs.check_version.outputs.changed == 'true'&& github.event_name == 'push' }}
tags: ${{ env.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
sbom: true
provenance: true

0 comments on commit d967743

Please sign in to comment.