Content :
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 |
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 (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 (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# 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 Push Container (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# 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 Container (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
# export CI_PROJECT_PATH="devopscorner" |
NewerOlder