-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π¦ Add .gitignore and create initial action.yml
β’ π 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
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
diff/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |