mirror of
https://github.com/werf/actions.git
synced 2026-02-05 02:46:23 +03:00
Actions for v1.2 werf version
- remove actions not used in v1.2 - update the example arbitrary version - embed v1.2 MAJOR.MINOR
This commit is contained in:
@@ -15,7 +15,7 @@ Using the `channel` input the user can switch the release channel.
|
||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||
|
||||
```yaml
|
||||
- uses: werf/actions/run@v1.1
|
||||
- uses: werf/actions/run@v1.2
|
||||
with:
|
||||
channel: alpha
|
||||
```
|
||||
@@ -23,9 +23,9 @@ Using the `channel` input the user can switch the release channel.
|
||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||
|
||||
```yaml
|
||||
- uses: werf/actions/run@v1.1
|
||||
- uses: werf/actions/run@v1.2
|
||||
with:
|
||||
version: v1.1.23
|
||||
version: v1.2.9
|
||||
```
|
||||
|
||||
### kubeconfig setup (*optional*)
|
||||
@@ -37,7 +37,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
||||
* Pass secret with `kube-config-base64-data` input:
|
||||
|
||||
```yaml
|
||||
- uses: werf/actions/run@v1.1
|
||||
- uses: werf/actions/run@v1.2
|
||||
with:
|
||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||
```
|
||||
@@ -55,11 +55,9 @@ By default, action will use the token provided to your workflow.
|
||||
Any werf option can be defined with environment variables:
|
||||
|
||||
```yaml
|
||||
- uses: werf/actions/run@v1.1
|
||||
- uses: werf/actions/run@v1.2
|
||||
env:
|
||||
WERF_LOG_VERBOSE: "on"
|
||||
WERF_TAG_CUSTOM_TAG1: tag1
|
||||
WERF_TAG_CUSTOM_TAG2: tag2
|
||||
```
|
||||
|
||||
## Inputs
|
||||
@@ -102,7 +100,7 @@ run:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run
|
||||
uses: werf/actions/run@v1.1
|
||||
uses: werf/actions/run@v1.2
|
||||
with:
|
||||
image: backend
|
||||
args: rails server
|
||||
|
||||
Reference in New Issue
Block a user