fix: update Dockerfile to use correct Ubuntu base image and add missing outputs in orchestrator CI
This commit is contained in:
3
.github/workflows/orchestratorci.yml
vendored
3
.github/workflows/orchestratorci.yml
vendored
@@ -33,10 +33,11 @@ jobs:
|
|||||||
name: OrchestratorCI Job
|
name: OrchestratorCI Job
|
||||||
outputs:
|
outputs:
|
||||||
ready: ${{ steps.provisioning.outputs.ready }} # Sesuaikan nama
|
ready: ${{ steps.provisioning.outputs.ready }} # Sesuaikan nama
|
||||||
|
droplet_id: ${{ steps.provisioning.outputs.droplet_id }}
|
||||||
|
droplet_ip: ${{ steps.provisioning.outputs.droplet_ip }}
|
||||||
steps:
|
steps:
|
||||||
- name: Run OrchestratorCI
|
- name: Run OrchestratorCI
|
||||||
id: provisioning
|
id: provisioning
|
||||||
container: registry.btwazure.com/orchestrator/app:latest
|
|
||||||
env:
|
env:
|
||||||
SPEC: ${{ inputs.spec }}
|
SPEC: ${{ inputs.spec }}
|
||||||
RUNNER_ID: ${{ inputs.runner_id }}
|
RUNNER_ID: ${{ inputs.runner_id }}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM catthehacker/ubuntu:runner-24.04
|
FROM catthehacker/ubuntu:runner-22.04
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y curl bash git wget openssh-client
|
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 orchestrating.sh /usr/local/bin/orchestrating
|
||||||
COPY cleanup.sh /usr/local/bin/cleanup
|
COPY cleanup.sh /usr/local/bin/cleanup
|
||||||
RUN chmod 755 /usr/local/bin/orchestrating /usr/local/bin/cleanup
|
RUN chmod 755 /usr/local/bin/orchestrating /usr/local/bin/cleanup
|
||||||
|
|
||||||
USER act
|
|
||||||
|
|||||||
Reference in New Issue
Block a user