modified: .gitea/workflows/services.code-server.yml
All checks were successful
/ build-docker-image (push) Successful in 5s
All checks were successful
/ build-docker-image (push) Successful in 5s
modified: README.md
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
name: deploy host
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
@@ -6,17 +5,18 @@ on:
|
||||
- ".gitea/workflows/**code-server**.yml"
|
||||
|
||||
jobs:
|
||||
build-docker-image:
|
||||
|
||||
build-runner:
|
||||
runs-on: homesrv01
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: build code-server
|
||||
- name: code-server - build docker image
|
||||
shell: bash
|
||||
run: |
|
||||
docker build ${{gitea.workspace}}/services/code-server --tag myInfra/code-server
|
||||
|
||||
@@ -54,7 +54,14 @@ All configuration is set during docker build.
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user