Install dependencies and set RUN_USER

Install make dependencies and default to current user

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2024-02-26 16:38:27 +00:00
parent 8728051c40
commit b9b185d1c1
2 changed files with 4 additions and 2 deletions

View file

@ -19,6 +19,9 @@ jobs:
- name: Setup LXD
uses: canonical/setup-lxd@v0.1.1
- name: Install dependencies
run: sudo apt-get -qq update && sudo apt-get -qq install -y apg coreutils make
- name: Build GARM
run: make build
@ -39,8 +42,6 @@ jobs:
- name: Generate secrets
run: |
sudo apt-get -qq update && sudo apt-get -qq install -y apg
GARM_PASSWORD=$(apg -n1 -m32)
REPO_WEBHOOK_SECRET=$(apg -n1 -m32)
ORG_WEBHOOK_SECRET=$(apg -n1 -m32)