Files
go-ssh-server/.gitea/workflows/build-and-push.yml
dcorral 4acd92e8e7
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 19s
Fix action
2025-11-06 15:01:38 +01:00

28 lines
591 B
YAML

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: dcorral3/go-ssh-server-command:latest