File tree Expand file tree Collapse file tree 4 files changed +34
-4
lines changed
Expand file tree Collapse file tree 4 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Image for nginx-utils container
2+ on :
3+ push :
4+ branches :
5+ - mrajagopal-utils-pod
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v3
13+
14+ - name : Set up Docker Buildx
15+ uses : docker/setup-buildx-action@v1
16+
17+ - name : Build and push Docker image
18+ uses : docker/build-push-action@v2
19+ with :
20+ context : .
21+ file : nginx-utils/Dockerfile
22+ push : true
23+ tags : nginx-utils:latest
24+
25+ - name : Log in to GitHub Container Registry
26+ uses : docker/login-action@v3
27+ with :
28+ registry : ghcr.io
29+ username : ${{ github.repository_owner }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
Original file line number Diff line number Diff line change 1+ .PHONY : nginx-utils build install
12build :
23 go build -o cmd/kubectl-nginx_supportpkg
34
4- debugger :
5- docker buildx build --build-context project=nginx-debugger --platform linux/amd64 -t nginx-debugger -f nginx-debugger/Dockerfile .
6- # docker tag nginx-debugger:latest mrajagopal/f5-utils:latest
7- # docker push mrajagopal/f5-utils:latest
5+ nginx-utils :
6+ docker buildx build --build-context project=nginx-utils --platform linux/amd64 -t nginx-utils -f nginx-utils/Dockerfile .
87
98install : build
109 sudo cp cmd/kubectl-nginx_supportpkg /usr/local/bin
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments