From 1cc9e5c2143521f010d3d07bdc5f27d13e807fd5 Mon Sep 17 00:00:00 2001 From: "Dr. Christoph \"Schorsch\" Jung" Date: Thu, 24 Aug 2023 08:26:25 +0200 Subject: [PATCH] docs: #18 license is there, but update dockerhub descriptions is missing. --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0aa713..28ed874 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,6 +126,16 @@ jobs: tags: ${{ steps.meta-hash.outputs.tags }} labels: ${{ steps.meta-hash.outputs.labels }} + # Important step to push image description to DockerHub - since this is version independent, we always take it from main + - name: Update Docker Hub description for Agent Plane Hashicorp + if: ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && github.ref == 'refs/heads/main' }} + uses: peter-evans/dockerhub-description@v3 + with: + readme-filepath: agent-plane/agentplane-hashicorp/README.md + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_TOKEN }} + repository: ${{ env.IMAGE_NAMESPACE }}/agentplane-hashicorp + # Create SemVer or ref tags dependent of trigger event - name: Docker Meta Agent Plane Azure Vault id: meta-azr @@ -151,3 +161,13 @@ jobs: push: ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }} tags: ${{ steps.meta-azr.outputs.tags }} labels: ${{ steps.meta-azr.outputs.labels }} + + # Important step to push image description to DockerHub - since this is version independent, we always take it from main + - name: Update Docker Hub description for Agent Plane Azure Vault + if: ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && github.ref == 'refs/heads/main' }} + uses: peter-evans/dockerhub-description@v3 + with: + readme-filepath: agent-plane/agentplane-azure-vault/README.md + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_TOKEN }} + repository: ${{ env.IMAGE_NAMESPACE }}/agentplane-azure-vault \ No newline at end of file