Initial commit with Dockerfile and Go code

This commit is contained in:
2025-11-06 14:43:35 +01:00
commit 1f0cd36375
6 changed files with 213 additions and 0 deletions

27
.github/workflows/build-and-push.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: dcorral/ssh-remote:latest