- 1.The secret conf in: Secrets and Variables | Agola got error with the master version of agola.
- secret_name: secret-testing
secret_var: dockerpassword
when:
ref: '#/refs/pull/.*#'
- 2.Now I’m using with the following
##ref
- secret_name: secret-testing
secret_var: dockerpassword
when:
ref:
include:
#- type: simple
- type: regexp
match: 'refs/pull/*'
##brach
- secret_name: secret-testing
secret_var: dockerpassword
when:
branch:
include:
- type: simple
match: 'br-agola'
- type: regexp
match: 'br-*'