From e09bdb0abaac908714ca34fa594a2d70217f3641 Mon Sep 17 00:00:00 2001 From: caelebfi Date: Thu, 15 Aug 2024 08:58:04 +0200 Subject: [PATCH] changed to harbor --- .gitea/workflows/build.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cee232b..bfeee51 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -27,9 +27,9 @@ jobs: - name: Login to Registry uses: docker/login-action@v2 with: - registry: http://192.168.0.29:3000 # replace it with your local IP - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: https://harbor.realm.local # replace it with your local IP + username: ${{ secrets.HARBORUSER }} + password: ${{ secrets.HARBORPASS }} - name: Get Meta id: meta @@ -44,7 +44,7 @@ jobs: file: ./Dockerfile push: true tags: | # replace it with your local IP and tags - 192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} - 192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} - #harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} - #harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} + #192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} + #192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} + harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }} + harbor.realm.local/library/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}