Skip to content

Commit

Permalink
Fix syntax error in composite step
Browse files Browse the repository at this point in the history
  • Loading branch information
penumbra23 committed Jul 3, 2024
1 parent 08ec1a3 commit 568fa24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/buildah-action/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ runs:
- name: Login to registry
shell: bash
if: ${{ inputs.registry }} && ${{ inputs.username }} && ${{ inputs.password }}
if: ${{ inputs.push == 'true' && inputs.registry && inputs.username && inputs.password }}
run: |
echo ${{ inputs.password }} | buildah login -u ${{ inputs.username }} --password-stdin ${{ inputs.registry }}
- name: Push the image
shell: bash
if: ${{ inputs.push }} == 'true'
if: ${{ inputs.push == 'true' }}
run: |
buildah push ${{ inputs.image_name }}:${{ github.sha }} ${{ inputs.registry }}/${{ inputs.image_name }}:${{ github.sha }}

0 comments on commit 568fa24

Please sign in to comment.