-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (26 loc) · 759 Bytes
/
action.yml
File metadata and controls
30 lines (26 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Setup Deckhouse Module Building Environment'
description: 'Setup Deckhouse Module'
inputs:
registry:
description: 'Registry URL'
required: true
registry_login:
description: 'Registry login'
required: true
registry_password:
description: 'Registry password'
required: true
runs:
using: "composite"
steps:
- uses: werf/actions/install@v2
- uses: imjasonh/setup-crane@v0.4
- name: Print werf version
shell: bash
run: werf version
- name: Print crane version
shell: bash
run: crane version
- name: Login into registry ${{ inputs.registry }}
shell: bash
run: werf cr login -u ${{ inputs.registry_login }} -p ${{ inputs.registry_password }} ${{ inputs.registry }}