changed registry settings for runner
release-tag / release-image (push) Failing after 15s

This commit is contained in:
2024-08-02 09:02:04 +02:00
parent 0046a53c8b
commit 1cdd403950
+6 -6
View File
@@ -20,14 +20,12 @@ jobs:
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
with: # replace it with your local IP with: # replace it with your local IP
config-inline: | config-inline: |
[registry."192.168.0.29:3000"] [registry."harbor.realm.local"]
http = true
insecure = true
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: 192.168.0.29:3000 # replace it with your local IP registry: harbor.realm.local # replace it with your local IP
username: ${{ secrets.REGUSERNAME }} username: ${{ secrets.REGUSERNAME }}
password: ${{ secrets.REGPASSWORD }} password: ${{ secrets.REGPASSWORD }}
@@ -44,5 +42,7 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: | # replace it with your local IP and tags 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 }}:${{ steps.meta.outputs.REPO_VERSION }}
192.168.0.29:3000/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }} #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 }}