File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,26 @@ jobs:
4242 run : pnpm build
4343
4444 - name : Login to quay.io
45- if : ${{ inputs.registry == 'quay' }} && ${{ runner.os == 'linux' }}
45+ if : inputs.registry == 'quay' && runner.os == 'Linux'
4646 run : podman login --username ${{ secrets.QUAY_ROBOT_NAME }} --password ${{ secrets.QUAY_ROBOT_TOKEN }} quay.io
4747
4848 - name : Login to ghcr.io
49- if : ${{ inputs.registry == 'ghcr' }} && ${{ runner.os == 'linux' }}
49+ if : inputs.registry == 'ghcr' && runner.os == 'Linux'
5050 run : podman login --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io
5151
5252 - name : Build builder-image
53+ if : runner.os == 'Linux'
5354 run : podman build -t ghcr.io/redhat-developer/podman-desktop-redhat-account-ext-builder:next . -f ./build/Containerfile.builder
5455
5556 - name : Build and Push Image (quay.io)
56- if : ${{ inputs.registry == 'quay' }} && ${{ runner.os == 'linux' }}
57+ if : inputs.registry == 'quay' && runner.os == 'Linux'
5758 id : build-image-quay
5859 run : |
5960 podman build -t quay.io/redhat-developer/podman-desktop-redhat-account-ext:${{ inputs.ext-version }} . -f ./build/Containerfile
6061 podman push quay.io/redhat-developer/podman-desktop-redhat-account-ext:${{ inputs.ext-version }}
6162
6263 - name : Build and Push Image (ghcr.io)
63- if : ${{ inputs.registry == 'ghcr' }} && ${{ runner.os == 'linux' }}
64+ if : inputs.registry == 'ghcr' && runner.os == 'Linux'
6465 id : build-image-ghcr
6566 run : |
6667 podman build -t ghcr.io/redhat-developer/podman-desktop-redhat-account-ext:next . -f ./build/Containerfile
You can’t perform that action at this time.
0 commit comments