forked from linkyard/docker-logrotate
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1004 Bytes
/
ci.yml
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
31
32
33
34
35
36
---
name: ci
on:
push:
branches:
- '**'
tags:
- '*.*.*'
jobs:
docker:
runs-on: ubuntu-22.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_gcr
uses: camunda/infra-global-github-actions/build-docker-image@feature/container-build-multiarch
with:
registry_host: gcr.io
registry_username: _json_key
registry_password: ${{ steps.secrets.outputs.BUILDER_INT_TO_K8S_INTERNAL }}
image_name: camunda-internal/infra-logrotate
force_push: true