Files
ssh/.gitea/workflows/ docker-image-deploy.yaml
Márcio Fernandes 8e75b904c4
Some checks failed
/ ssh-client-container (push) Failing after 22s
/ ssh-server-container (push) Successful in 20s
a
2025-09-06 23:57:09 +00:00

60 lines
1.5 KiB
YAML

on:
push:
paths:
- "docker/**"
- ".gitea/**"
schedule:
- cron: "0 02 * * *"
jobs:
ssh-client-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com container 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 ssh-client Docker images
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ${{gitea.workspace}}/docker/ssh-client/Dockerfile
push: true
tags: git.limbosolutions.com/kb/ssh-client
ssh-server-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com container 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 ssh-server images
run: |
cd ${{gitea.workspace}}/docker/ssh-server
BUILD_ENV=prod ./scripts/build.sh
- name: Push image
run: docker push git.limbosolutions.com/kb/ssh-server