diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index 30252b5..85d36d9 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -42,7 +42,7 @@ jobs: fail-on-cache-miss: true - name: Update dockerhub repo description - uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2 + uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} @@ -144,22 +144,6 @@ jobs: package failsafe:integration-test failsafe:verify -Dpivot.image=daanse-pivot-${{ matrix.db }}:ci - # The Docker Hub description is the database specific README plus the - # shared container documentation maintained once in the common module. - - name: Assemble Docker Hub description - run: > - cat application/pivot/${{ matrix.db }}/README.md - application/pivot/common/README.container.md - > readme-dockerhub.md - - - name: Update dockerhub repo description - uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} - repository: eclipsedaanse/daanse-pivot-${{ matrix.db }} - readme-filepath: ./readme-dockerhub.md - - name: Login to Docker Hub uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0 with: @@ -182,4 +166,21 @@ jobs: push: true tags: | docker.io/eclipsedaanse/daanse-pivot-${{ matrix.db }}:snapshot - ghcr.io/eclipse-daanse/daanse-pivot-${{ matrix.db }}:snapshot \ No newline at end of file + ghcr.io/eclipse-daanse/daanse-pivot-${{ matrix.db }}:snapshot + + # After the push - the Docker Hub repository only exists once the first + # image was pushed. The description is the database specific README plus + # the shared container documentation from the common module. + - name: Assemble Docker Hub description + run: > + cat application/pivot/${{ matrix.db }}/README.md + application/pivot/common/README.container.md + > readme-dockerhub.md + + - name: Update dockerhub repo description + uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} + repository: eclipsedaanse/daanse-pivot-${{ matrix.db }} + readme-filepath: ./readme-dockerhub.md \ No newline at end of file