ci(forgejo): support alpine runner image
This commit is contained in:
parent
354ce62134
commit
52d4b4119f
1 changed files with 18 additions and 3 deletions
|
|
@ -15,10 +15,15 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Docker CLI
|
- name: Install tooling
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
set -euo pipefail
|
||||||
apt-get install -y docker.io git python3
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y docker.io git python3
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
apk add --no-cache git python3 py3-pip
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -35,6 +40,16 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y git python3
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
apk add --no-cache git python3 py3-pip
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Update GitOps admin release
|
- name: Update GitOps admin release
|
||||||
env:
|
env:
|
||||||
GITOPS_USERNAME: ${{ secrets.GITOPS_GITHUB_USERNAME || 'Traceworks2023' }}
|
GITOPS_USERNAME: ${{ secrets.GITOPS_GITHUB_USERNAME || 'Traceworks2023' }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue