Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SITEOPS-1422] add conditional artifactory, gar, and quay logins to test runner action #73

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,27 @@ runs:
wait: ${{ inputs.kind_wait }}
kubectl_version: ${{ inputs.kind_kubectl_version }}
verbosity: ${{ inputs.kind_log_level }}
- name: Login to Artifactory
uses: docker/login-action@v2
if: ${{inputs.artifactory_username != '' && inputs.artifactory_password != '' }}
with:
registry: ${{ inputs.artifactory_url }}
username: ${{ inputs.artifactory_username }}
password: ${{ inputs.artifactory_password }}
- name: Login to Quay
uses: docker/login-action@v2
if: ${{inputs.quay_username != '' && inputs.quay_password != '' }}
with:
registry: quay.io
username: ${{ inputs.quay_username }}
password: ${{ inputs.quay_password }}
- name: Login to GAR
uses: docker/login-action@v2
if: ${{inputs.gar_password != '' }}
with:
registry: ${{ inputs.gar_prefix }}
username: _json_key
password: ${{ inputs.gar_password }}
- name: Download image artifact
uses: actions/[email protected]
if: ${{ inputs.import_image_artifact == 'true' }}
Expand Down
Loading