fix: add descriptive names to Docker registry steps in build and push workflow
Some checks failed
Build and Push to Private Registry / build (push) Has been cancelled
Some checks failed
Build and Push to Private Registry / build (push) Has been cancelled
This commit is contained in:
@@ -24,10 +24,13 @@ 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:
|
||||
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
|
||||
run: ls -lh /run/secrets
|
||||
run: sleep 1800
|
||||
#run: curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm && /usr/local/bin/helm upgrade --kubeconfig /run/secrets/kubeconfig --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char
|
||||
|
||||
|
||||
Reference in New Issue
Block a user