fix: update Dockerfile to use correct Ubuntu base image and add missing outputs in orchestrator CI

This commit is contained in:
2025-09-23 16:14:59 +08:00
parent e836cbfa02
commit 3f44a10c0f
2 changed files with 3 additions and 4 deletions

View File

@@ -33,10 +33,11 @@ jobs:
name: OrchestratorCI Job
outputs:
ready: ${{ steps.provisioning.outputs.ready }} # Sesuaikan nama
droplet_id: ${{ steps.provisioning.outputs.droplet_id }}
droplet_ip: ${{ steps.provisioning.outputs.droplet_ip }}
steps:
- name: Run OrchestratorCI
id: provisioning
container: registry.btwazure.com/orchestrator/app:latest
env:
SPEC: ${{ inputs.spec }}
RUNNER_ID: ${{ inputs.runner_id }}

View File

@@ -1,4 +1,4 @@
FROM catthehacker/ubuntu:runner-24.04
FROM catthehacker/ubuntu:runner-22.04
USER root
RUN apt-get update && apt-get install -y curl bash git wget openssh-client
@@ -10,5 +10,3 @@ RUN wget https://github.com/digitalocean/doctl/releases/download/v1.141.0/doctl-
COPY orchestrating.sh /usr/local/bin/orchestrating
COPY cleanup.sh /usr/local/bin/cleanup
RUN chmod 755 /usr/local/bin/orchestrating /usr/local/bin/cleanup
USER act