fix(ci): install docker cli before building image in production workflow (#237)
Runner doesn't have docker pre-installed; explicitly install docker.io matching the pattern used in microwaveprop. Reviewed-on: graham/towerops-web#237
This commit is contained in:
parent
f8b8082ee5
commit
445cafa88b
1 changed files with 4 additions and 1 deletions
|
|
@ -98,11 +98,14 @@ jobs:
|
|||
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
||||
echo "Full image tag: ${TAG}"
|
||||
|
||||
- name: Install Docker CLI
|
||||
run: |
|
||||
apt-get update && apt-get install -y docker.io
|
||||
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
IMAGE_TAG="${{ steps.tag.outputs.tag }}"
|
||||
|
||||
# Build using existing Docker daemon (runner user is in docker group)
|
||||
docker build \
|
||||
--build-arg MIX_ENV=prod \
|
||||
--file k8s/Dockerfile \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue