Skip to content

Commit 01ed870

Browse files
"Removed Build and Push Docker Image steps in kustomize-ci workflow"
1 parent 68be98b commit 01ed870

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/kustomize-ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
username: ${{ secrets.DOCKERHUB_USERNAME }}
3939
password: ${{ secrets.DOCKERHUB_TOKEN }}
4040

41-
- name: Build and Push Docker Image
42-
run: |
43-
COMMIT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
44-
BRANCH=$(echo "${GITHUB_REF#refs/heads/}" | tr '/' '-')
45-
TAG="${BRANCH}-${COMMIT_SHA}"
41+
# - name: Build and Push Docker Image
42+
# run: |
43+
# COMMIT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
44+
# BRANCH=$(echo "${GITHUB_REF#refs/heads/}" | tr '/' '-')
45+
# TAG="${BRANCH}-${COMMIT_SHA}"
4646

47-
docker build -t $IMAGE_NAME:$TAG ./app
48-
docker push $IMAGE_NAME:$TAG
47+
# docker build -t $IMAGE_NAME:$TAG ./app
48+
# docker push $IMAGE_NAME:$TAG
4949
- name: Checkout code
5050
uses: actions/checkout@v4
5151

0 commit comments

Comments
 (0)