@@ -20,14 +20,14 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with: # replace it with your local IP
|
||||
config-inline: |
|
||||
[registry."${{ env.REGISTRY }}"]
|
||||
[registry."harbor.realm.local"]
|
||||
http = false
|
||||
insecure = true
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }} # replace it with your local IP
|
||||
registry: harbor.realm.local # replace it with your local IP
|
||||
username: ${{ secrets.HARBORUSER }}
|
||||
password: ${{ secrets.HARBORPASS }}
|
||||
|
||||
@@ -46,5 +46,5 @@ jobs:
|
||||
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 }}
|
||||
${{ env.REGISTRY }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
${{ env.REGISTRY }}/${{ 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 }}
|
||||
|
||||
Reference in New Issue
Block a user