21 lines
424 B
YAML
21 lines
424 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-push:
|
|
name: Build and Push
|
|
runs-on: build-htz-01
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Build and push Docker image
|
|
run: |
|
|
docker build -t cr.jdbnet.co.uk/public/ssh:latest .
|
|
docker push cr.jdbnet.co.uk/public/ssh:latest |