Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99a62a20ea | |||
| 77a917c0dd | |||
| dbd20fd75a | |||
| aff1389e38 | |||
| b3e3dd1a82 | |||
| e9fcc8bd0b | |||
| fc4535aafb | |||
| e93281f4eb | |||
| 79ad1c450a | |||
| cad24f4001 | |||
| 052e327182 |
@@ -0,0 +1,39 @@
|
||||
name: Build And Publish Container
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build-latest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
||||
with:
|
||||
platforms: linux/amd64
|
||||
|
||||
- name: Login to Self-Hosted Registry
|
||||
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
|
||||
with:
|
||||
registry: git.coopcloud.tech
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and Push Extended Version
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: git.coopcloud.tech/toolshed/coop-cloud-webui:nightly
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
[submodule "web"]
|
||||
path = web
|
||||
url = ssh://git@git.coopcloud.tech:2222/toolshed/coop-cloud-front.git
|
||||
url = https://git.coopcloud.tech/toolshed/coop-cloud-front.git
|
||||
|
||||
+2
-4
@@ -3,15 +3,12 @@ RUN mkdir /backend
|
||||
COPY --parents ["api", "cli", "internal", "go.mod", "go.sum", "app.go", "/backend/"]
|
||||
RUN go build -C /backend -o gobackend
|
||||
|
||||
FROM node
|
||||
FROM node:slim
|
||||
RUN mkdir /home/node/wizard
|
||||
COPY --from=0 /backend/gobackend /home/node/wizard/gobackend
|
||||
|
||||
USER node
|
||||
COPY ./command.sh /
|
||||
COPY ssh_config /home/node/.ssh/config
|
||||
COPY id_ed25519_* /home/node/.ssh/
|
||||
COPY dot_abra /home/node/.abra/
|
||||
RUN curl https://install.abra.coopcloud.tech | bash
|
||||
ENV ABRA_BIN=/home/node/.local/bin/abra
|
||||
# RUN $ABRA_BIN recipe fetch -a
|
||||
@@ -25,4 +22,5 @@ USER node
|
||||
|
||||
EXPOSE 5173 3000
|
||||
# ENV VITE_API_URL=http://localhost:3000/api
|
||||
ENV VITE_MOCK_AUTH=false
|
||||
CMD [ "/command.sh" ]
|
||||
|
||||
@@ -5,12 +5,12 @@ Integrates with https://git.coopcloud.tech/toolshed/coop-cloud-front.
|
||||
## Starting the service with Docker
|
||||
Build the container:
|
||||
```bash
|
||||
docker build -t abra-wizard:latest
|
||||
docker build -t coop-cloud-wizard:latest
|
||||
```
|
||||
|
||||
Run the container:
|
||||
```bash
|
||||
docker run abra-wizard
|
||||
docker run -u 1000:1000 -v "$HOME/.abra:/home/node/.abra" -v "$HOME/.ssh:/home/node/.ssh" coop-cloud-wizard
|
||||
```
|
||||
|
||||
## Getting started with development
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"pinDigests": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user