Esthenia-collaboration / rfswarm-docker

Simple docker container wich make rswarm performance tool easy to launch
1 stars 0 forks source link

Where to store environment variables #4

Closed Maresther-B closed 3 months ago

KseniaYa commented 3 months ago

We can use environment variables (the same principle as on gitlab). For secrets, github provides secret storage with encrypted variables.

To add an environment variable, use: Settings -> Secrets and variables -> Actions -> Variables -> New repository variable (Settings are available only for repository admins). image

It is also possible to create and manage variables for different environment levels.

@Maresther-B, I will review your issue and add the necessary variables if I find any

damies13 commented 3 months ago

FYI - I think those variables only affect the github runners not anything else

For the docker containers I think you need to define the variables in the dockerfile https://docs.docker.com/reference/dockerfile/#env