6 Commits

Author SHA1 Message Date
Aleksei Igrychev
6ad28e741a docs(readme): fix broken link 2025-11-01 17:57:09 +03:00
Aleksei Igrychev
b3b83d531c docs(readme): fix broken link 2025-11-01 17:55:49 +03:00
Evgeniy Frolov
f3a12bd69b chore(actions): set stable channel as default
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
2025-10-13 14:13:49 +01:00
Evgeniy Frolov
af48145692 docs(readme, faq): use only one driver (#83)
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
Co-authored-by: Aleksei Igrychev <alexey.igrychev@flant.com>
2025-04-14 22:06:17 +01:00
Evgeniy Frolov
4cd91e1efe docs(readme, faq): add section about using werf with docker buildx (#82)
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
Co-authored-by: Aleksei Igrychev <alexey.igrychev@flant.com>
2025-04-08 09:46:54 +01:00
Aleksei Igrychev
6ada024d50 chore: test 2025-04-03 12:19:17 +01:00
15 changed files with 50 additions and 16 deletions

View File

@@ -38,6 +38,6 @@ jobs:
- name: Install
uses: ./install
with:
version: v2.1.0
version: v2.31.1
- run: werf version
- run: werf version

View File

@@ -5,7 +5,7 @@ ___
This action allows you to organize CI/CD with GitHub Actions and [werf](https://github.com/werf/werf).
**Ready-to-use GitHub Actions Workflows** for different CI/CD workflows are available [here](https://werf.io/guides/nodejs/400_ci_cd_workflow/040_github_actions.html).
**Ready-to-use GitHub Actions Workflows** for different CI/CD workflows are available [here](https://werf.io/getting_started/?usage=ci&ci=githubActions&runnerType=hostRunner&os=linux&buildBackend=buildah&projectType=simplified&sharedCICD=no&repoType=application).
## How to use
@@ -106,6 +106,40 @@ converge:
In the simplest case, if an [integrated GitHub Packages-like container registry](https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages) is used, then the authorization is performed automatically when the `werf ci-env` command is invoked. This command is run with several required arguments such as GitHub environment variables, the [`GITHUB_TOKEN` secret](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#about-the-github_token-secret) (you have to explicitly declare it).
### Building multi-platform images
To build multi-platform images or customize the build environment, you can use [docker/setup-buildx-action@v3](https://github.com/docker/setup-buildx-action).
```yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install werf
uses: werf/actions/install@v2
- name: cr login
run: werf cr login -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }} registry.example.com
- name: converge
run: |
. $(werf ci-env github --as-file)
werf converge
env:
WERF_KUBECONFIG_BASE64: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
WERF_ENV: production
```
> No additional configuration is required, and QEMU is automatically used for cross-platform builds.
## License
Apache License 2.0, see [LICENSE](LICENSE)

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -10,7 +10,7 @@ The action combines all the necessary steps in itself and logic may be divided i
```yaml
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -10,7 +10,7 @@ The action combines all the necessary steps in itself and logic may be divided i
```yaml
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -10,7 +10,7 @@ The action combines all the necessary steps in itself and logic may be divided i
```yaml
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -10,7 +10,7 @@ The action combines all the necessary steps in itself and logic may be divided i
```yaml
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -27,7 +27,7 @@ Withal, it is not necessary to work within release channels, and the user might
```yaml
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -11,7 +11,7 @@ The action combines all the necessary steps in itself and logic may be divided i
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'

View File

@@ -7,7 +7,7 @@ branding:
inputs:
channel:
description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
default: 'alpha'
default: 'stable'
required: false
version:
description: 'The certain version'