Skip to content

Commit

Permalink
inputs.image-name
Browse files Browse the repository at this point in the history
  • Loading branch information
AndWeHaveAPlan committed Oct 22, 2024
1 parent b282370 commit 977c98b
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/actions/build-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ runs:
if: ${{ inputs.push }}
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
image: ${{ inputs.image-name }}
tags: ${{ steps.build-image.outputs.tags }}
registry: ${{ inputs.registry }}
username: ${{ inputs.registry-user }}
password: ${{ inputs.registry-password }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kubetools-kubectl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mitogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/polkadotjs-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ws-health-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
Build:
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'staging' || 'main' }}
environment: ${{ github.event_name == 'workflow_dispatch' && 'main' || null }}
steps:

- uses: actions/checkout@v4
Expand Down

0 comments on commit 977c98b

Please sign in to comment.