golang:latest is Debian-based, not Alpine. Replace apk package manager commands with apt-get for both orchestrator and worker deployments.
This commit is contained in:
@@ -18,7 +18,7 @@ spec:
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
apk add --no-cache git
|
||||
apt-get update && apt-get install -y --no-install-recommends git
|
||||
git clone https://forgejo.riotpiao.com/rock/poimen-workflows.git /app
|
||||
cd /app
|
||||
go mod download
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
apk add --no-cache git
|
||||
apt-get update && apt-get install -y --no-install-recommends git
|
||||
git clone https://forgejo.riotpiao.com/rock/poimen-workflows.git /app
|
||||
cd /app
|
||||
go mod download
|
||||
|
||||
Reference in New Issue
Block a user