From 11f5a886bfd71e33ca6a3b4a8da04035a84c5bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 29 Mar 2025 18:37:57 +0000 Subject: [PATCH] add docker image ssh-client --- .gitea/ docker-image.deploy.yml | 32 ++++++++++++++++++++++++++++++++ docker/Dockerfile | 8 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 .gitea/ docker-image.deploy.yml create mode 100644 docker/Dockerfile diff --git a/.gitea/ docker-image.deploy.yml b/.gitea/ docker-image.deploy.yml new file mode 100644 index 0000000..72ca033 --- /dev/null +++ b/.gitea/ docker-image.deploy.yml @@ -0,0 +1,32 @@ +on: + push: + paths: + - "docker/**" + - ".gitea/**" + schedule: + - cron: "0 02 * * *" +jobs: + + build-docker-image: + runs-on: ubuntu-latest + + steps: + + - name: Checkout code + uses: actions/checkout@v2 + + - name: Log in to git.limbosolutions.com docker registry + uses: docker/login-action@v3 + with: + registry: git.limbosolutions.com + username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }} + password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }} + + - name: Build and push Docker images + id: push + uses: docker/build-push-action@v6 + with: + context: . + file: ${{gitea.workspace}}/docker/Dockerfile + push: true + tags: git.limbosolutions.com/kb/ssh-client \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..989e432 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,8 @@ +FROM ubuntu:latest + +RUN apt-get update + +RUN apt-get install -y \ + fuse \ + openssh-client +