modified: .gitea/workflows/services.code-server.yml
All checks were successful
/ build-docker-image (push) Successful in 5s

modified:   README.md
This commit is contained in:
2024-09-01 14:56:00 +01:00
parent 9bffda4ebb
commit 36fdb1a366
2 changed files with 11 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
name: deploy host
on: on:
push: push:
paths: paths:
@@ -6,17 +5,18 @@ on:
- ".gitea/workflows/**code-server**.yml" - ".gitea/workflows/**code-server**.yml"
jobs: jobs:
build-docker-image:
build-runner:
runs-on: homesrv01 runs-on: homesrv01
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: build code-server - name: code-server - build docker image
shell: bash shell: bash
run: | run: |
docker build ${{gitea.workspace}}/services/code-server --tag myInfra/code-server docker build ${{gitea.workspace}}/services/code-server --tag myInfra/code-server

View File

@@ -54,7 +54,14 @@ All configuration is set during docker build.
### code-server ### code-server
for more flexibility on bind mount, stack is maintained directly on portainer (stack name: code-server). Using [custom code-server docker image](./services/code-server/Dockerfile). Deployed by gitea [action](./.gitea/workflows/services.code-server.yml) and includes:
- docker-cli
- ansible
- ansible-lint
For more flexibility on bind mount, stack is maintained directly on portainer (stack name: code-server).
docker-compose.yml example. docker-compose.yml example.