-
Notifications
You must be signed in to change notification settings - Fork 97
46 lines (42 loc) · 1.23 KB
/
vaultenv-build.yaml
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
37
38
39
40
41
42
43
44
45
46
name: Build Vault Env
on:
workflow_dispatch:
push:
branches:
- master
- multiarch
- "*-patch"
paths:
- ".github/workflows/vaultenv-build.yaml"
- ".github/actions/**"
- "Dockerfile"
- "Makefile"
- "go.mod"
- "go.sum"
- "cmd/azure-keyvault-env/**"
- "pkg/**"
- "!docs/**"
- "!crds/**"
jobs:
build-deploy:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: '1.23.1'
- name: Build
uses: ./.github/actions/build
env:
AKV2K8S_CLIENT_ID: ${{ secrets.INT_TEST_CLIENT_ID }}
AKV2K8S_CLIENT_SECRET: ${{ secrets.INT_TEST_CLIENT_SECRET }}
AKV2K8S_CLIENT_TENANT_ID: ${{ secrets.INT_TEST_TENANT_ID }}
AKV2K8S_AZURE_SUBSCRIPTION: ${{ secrets.INT_TEST_SUBSCRIPTION }}
with:
build-make-action: image-vaultenv
docker-user: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
docker-passw: ${{ secrets.PRIVATE_REGISTRY_PASSWORD }}
docker-url: ${{ secrets.PRIVATE_REGISTRY_URL }}
docker-reg: ${{ secrets.PRIVATE_REGISTRY }}