File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
name : Build
10
10
runs-on : self-hosted
11
+ permissions :
12
+ contents : read
13
+ id-token : write
11
14
steps :
12
15
- name : Check out the repo
13
16
uses : actions/checkout@v4
14
17
18
+ - name : Import secrets
19
+ id : secrets
20
+ uses : hashicorp/vault-action@v2
21
+ with :
22
+ method : ' jwt'
23
+ url : ${{ vars.HASHICORP_VAULT_URL }}
24
+ role : ${{ vars.HASHICORP_VAULT_ROLE }}
25
+ jwtGithubAudience : ${{ vars.HASHICORP_VAULT_AUD }}
26
+ secrets : |
27
+ kv/data/canister/api *
28
+
15
29
- name : Set up Docker Buildx
16
30
uses : docker/setup-buildx-action@v3
17
31
42
56
tags : ${{ steps.meta.outputs.tags }}
43
57
labels : ${{ steps.meta.outputs.labels }}
44
58
platforms : linux/arm64
59
+ secret-envs : ${{ steps.secrets.outputs }}
45
60
cache-to : type=registry,ref=ghcr.io/cnstr/api-cache,compression=zstd
46
61
cache-from : type=registry,ref=ghcr.io/cnstr/api-cache
47
62
Original file line number Diff line number Diff line change 1
- FROM rust:1.66 as builder
1
+ FROM rust:1.79 as builder
2
2
ENV UPLOAD_OPENAPI=true
3
3
WORKDIR /app
4
4
You can’t perform that action at this time.
0 commit comments