fix: add Harbor login step in CI workflow
Some checks failed
Build & Deploy / build (push) Failing after 49s
Some checks failed
Build & Deploy / build (push) Failing after 49s
This commit is contained in:
@@ -49,6 +49,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
GITHUB_SHA: ${{ github.sha }}
|
||||||
|
|
||||||
|
- name: Login to Harbor
|
||||||
|
run: docker login 192.168.1.212:1180 -u admin -p "$HARBOR_PASSWORD"
|
||||||
|
env:
|
||||||
|
HARBOR_PASSWORD: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
|
||||||
- name: Docker build & push
|
- name: Docker build & push
|
||||||
run: |
|
run: |
|
||||||
cd /root/.cache/demo-frontend
|
cd /root/.cache/demo-frontend
|
||||||
@@ -61,6 +66,7 @@ jobs:
|
|||||||
echo "✓ Pushed ${TAG}"
|
echo "✓ Pushed ${TAG}"
|
||||||
env:
|
env:
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
GITHUB_SHA: ${{ github.sha }}
|
||||||
|
REGISTRY: ${{ env.REGISTRY }}
|
||||||
|
|
||||||
- name: Patch ArgoCD
|
- name: Patch ArgoCD
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user