-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (41 loc) · 1.33 KB
/
testing-action.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
name: Testing Github Action
on:
pull_request:
paths:
- 'testing-action/**'
- '.github/workflows/testing-action.yaml'
push:
paths:
- 'testing-action/**'
- '.github/workflows/testing-action.yaml'
workflow_dispatch:
jobs:
release:
runs-on: [linux]
permissions:
contents: write
id-token: write
pull-requests: write
repository-projects: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Akeyless Get Secrets
id: get_auth_token
uses:
docker://us-west1-docker.pkg.dev/devopsre/akeyless-public/akeyless-action:latest
with:
api-url: https://api.gateway.akeyless.celo-networks-dev.org
access-id: p-kf9vjzruht6l
dynamic-secrets: '{"/dynamic-secrets/keys/github/docs/contents=write,pull_requests=write":"NPM_TOKEN"}'
Build-Container-dev:
uses: celo-org/reusable-workflows/.github/workflows/[email protected]
if: github.ref != 'refs/heads/main'
with:
workload-id-provider: ${{ vars.WORKLOAD_ID_PROVIDER_NON_MAIN }}
service-account: patrick-testing-ro@clabs-secrets-and-permissions.iam.gserviceaccount.com
artifact-registry: ${{ vars.DEV_IMAGE_REPO }}/testing-action
tags: testing
context: ./testing-action
trivy: false
#