mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: login to container registry before pushing containers (#1676)
This commit is contained in:
parent
1ebc553365
commit
dc5e6f30a9
14
.github/actions/e2e_test/action.yml
vendored
14
.github/actions/e2e_test/action.yml
vendored
@ -113,6 +113,13 @@ runs:
|
|||||||
useCache: "true"
|
useCache: "true"
|
||||||
buildBuddyApiKey: ${{ inputs.buildBuddyApiKey }}
|
buildBuddyApiKey: ${{ inputs.buildBuddyApiKey }}
|
||||||
|
|
||||||
|
- name: Log in to the Container registry
|
||||||
|
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # tag=v2.1.0
|
||||||
|
with:
|
||||||
|
registry: ${{ inputs.registry }}
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ inputs.githubToken }}
|
||||||
|
|
||||||
- name: Build CLI
|
- name: Build CLI
|
||||||
if: inputs.cliVersion == ''
|
if: inputs.cliVersion == ''
|
||||||
uses: ./.github/actions/build_cli
|
uses: ./.github/actions/build_cli
|
||||||
@ -172,13 +179,6 @@ runs:
|
|||||||
# extend token expiry to 6 hours to ensure constellation can terminate
|
# extend token expiry to 6 hours to ensure constellation can terminate
|
||||||
role-duration-seconds: 21600
|
role-duration-seconds: 21600
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
|
||||||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # tag=v2.1.0
|
|
||||||
with:
|
|
||||||
registry: ${{ inputs.registry }}
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ inputs.githubToken }}
|
|
||||||
|
|
||||||
- name: Login to Azure (IAM service principal)
|
- name: Login to Azure (IAM service principal)
|
||||||
if: inputs.cloudProvider == 'azure'
|
if: inputs.cloudProvider == 'azure'
|
||||||
uses: ./.github/actions/login_azure
|
uses: ./.github/actions/login_azure
|
||||||
|
Loading…
Reference in New Issue
Block a user