ci: Introduce Auto-Releases #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '*.*.*' | |
jobs: | |
docker: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Import Secrets | |
id: secrets # important to refer to it in later steps | |
uses: hashicorp/[email protected] | |
with: | |
url: ${{ secrets.VAULT_ADDR }} | |
method: approle | |
roleId: ${{ secrets.VAULT_ROLE_ID }} | |
secretId: ${{ secrets.VAULT_SECRET_ID }} | |
exportEnv: false # we rely on step outputs, no need for environment variables | |
secrets: | | |
secret/data/products/infra/ci/common BUILDER_INT_TO_K8S_INTERNAL; | |
- id: build_gar | |
uses: camunda/infra-global-github-actions/build-docker-image@main | |
with: | |
registry_host: europe-west1-docker.pkg.dev | |
registry_username: _json_key | |
registry_password: ${{ steps.secrets.outputs.BUILDER_INT_TO_K8S_INTERNAL }} | |
image_name: camunda-internal/main/infra-logrotate |