fix(ci): 使用绝对路径调用 apt-get (host 模式)
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build & Push Docker image
|
- name: Build & Push Docker image
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq && apt-get install -y -qq docker.io
|
/usr/bin/apt-get update -qq && /usr/bin/apt-get install -y -qq docker.io
|
||||||
TAG=${{ gitea.sha }}
|
TAG=${{ gitea.sha }}
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg BUILD_MODE=${{ inputs.environment == 'prod' && 'production' || 'development' }} \
|
--build-arg BUILD_MODE=${{ inputs.environment == 'prod' && 'production' || 'development' }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user