Skip to content

Commit

Permalink
πŸ“¦ Add .gitignore and create initial action.yml
Browse files Browse the repository at this point in the history
β€’ πŸš€ Set up the foundation for the Docker image build and push action
β€’ πŸ”§ Configure .gitignore to exclude the `diff/` directory
β€’ πŸ“„ Create action.yml with basic structure and input definitions
β€’ πŸ”‘ Include inputs for Telegram notifications and Docker Hub credentials
β€’ 🏷️ Define action name, description, and author
  • Loading branch information
yuri-val committed Oct 30, 2024
1 parent 1927d70 commit 8f41eee
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

diff/
28 changes: 28 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# action.yml

name: 'Build and Push Docker Image'
description: 'Builds a Docker image and pushes it to Docker Hub, then creates a GitHub release and sends Telegram notifications.'
author: 'Yuri V <yuri.valigursky@gmail.com> (@yuri-val)'

inputs:
telegram_to:
description: 'Telegram recipient ID'
required: true
telegram_token:
description: 'Telegram bot token'
required: true
docker_hub_username:
description: 'Docker Hub username'
required: true
docker_hub_access_token:
description: 'Docker Hub access token'
required: true
docker_repo_name:
description: 'Docker Hub repository name'
required: true
default: 'shipvisor'

runs:
using: 'composite'
steps:
# Steps will be defined in the next section

0 comments on commit 8f41eee

Please sign in to comment.