- Open Telegram application then search for
@BotFather
- Click Start
- Click Menu -> /newbot or type
/newbot
and hit Send - Follow the instruction until we get message like so
Done! Congratulations on your new bot. You will find it at t.me/new_bot.
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
version: "3.7" | |
#================================================================================================ | |
# NETWORK SETUP | |
#================================================================================================ | |
networks: | |
devopscorner_net: | |
name: devopscorner_net | |
driver: bridge | |
ipam: |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Build Container | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export CI_PROJECT_PATH="devopscorner" |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Build Multi Architecture Container | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export CI_PROJECT_PATH="devopscorner" |
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
@startuml | |
participant "pull/2/merge" as feature | |
participant develop | |
participant "release/2.0.0" as majorRelease | |
participant "release/1.3.0" as minorRelease | |
participant master | |
activate develop | |
activate master | |
master -> master: commit | |
master -> master: tag 1.2.0 |
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
FROM nginx:${NGINX_VERSION:-1.23-alpine} | |
ARG BUILD_DATE | |
ARG BUILD_VERSION | |
ARG GIT_COMMIT | |
ARG GIT_URL | |
ENV VENDOR="DevOpsCornerId" | |
ENV AUTHOR="DevOpsCorner.id <[email protected]>" | |
ENV IMG_NAME="cicd-alpine" |
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
version: "3.7" | |
#================================================================================================ | |
# NETWORK SETUP | |
#================================================================================================ | |
networks: | |
devopscorner_net: | |
name: devopscorner_net | |
driver: bridge | |
ipam: |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Build Container | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni (@zeroc0d3) | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
TITLE="DOCKER BUILD CONTAINER SCRIPT" # script name |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Push Container (Elastic Container Registry - ECR) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export AWS_ACCOUNT_ID=$1 |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Tag Container (Elastic Container Registry - ECR) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export AWS_ACCOUNT_ID=$1 |
NewerOlder