qa update into main (#2)
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 8s
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 8s
Co-authored-by: stephen schuresko <mynameisdeleted@gmail.com> Reviewed-on: https://192.168.1.134:3000/posts-api/papi-py/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
|
||||
|
||||
|
||||
name: Build and Push to Private Registry
|
||||
|
||||
name: Build and Push to Private Registry101
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -24,6 +23,15 @@ jobs:
|
||||
id: extract_branch
|
||||
- uses: actions/checkout@v3
|
||||
- run: docker login kube-reg.fairfaxmedia.net -u docker -p ${{ secrets.DOCK_REG_AUTH }} # Login to private registry
|
||||
name: Login to private registry
|
||||
- run: docker build -t kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} . # Build the Docker image
|
||||
name: Build Docker image
|
||||
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
|
||||
name: Push Docker image
|
||||
#- env:
|
||||
#KUBEB64: '${{ secrets.KUBEB64 }}'
|
||||
#run: mkdir -p $HOME/.kube &&echo "$KUBEB64" | base64 -d > $HOME/.kube/config &&
|
||||
#curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm &&
|
||||
#/usr/local/bin/helm upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm chart
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user