40
.gitea/workflows/ssh-client-build-deploy.yaml
Normal file
40
.gitea/workflows/ssh-client-build-deploy.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docker/ssh-client/**"
|
||||
- ".gitea/ssh-client**"
|
||||
schedule:
|
||||
- cron: "0 14 * * 6" #every Saturday at 2:00 PM,
|
||||
|
||||
jobs:
|
||||
|
||||
ssh-client:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{gitea.workspace}}/docker/ssh-client
|
||||
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: Dockerfile
|
||||
push: true
|
||||
tags: git.limbosolutions.com/kb/ssh-client
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user