diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 45c54563..bacdf637 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -80,7 +80,9 @@ jobs: docker tag plate-platform "$tag" done <<< "${{ steps.meta.outputs.tags }}" - name: Push docker platform image to DockerHub - run: docker push ${{ steps.meta.outputs.tags }} + run: | + docker push ${{ env.GITHUB_REGISTRY }}/plate-platform + docker push ${{ env.DOCKER_REGISTRY }}/plate-platform - name: Extract oauth2 metadata (tags, labels) for Docker id: oauth2 @@ -103,5 +105,7 @@ jobs: docker tag plate-oauth2 $tag done <<< "${{ steps.oauth2.outputs.tags }}" - name: Push docker oauth2 image to DockerHub - run: docker push ${{ steps.oauth2.outputs.tags }} + run: | + docker push --all-tags ${{ env.GITHUB_REGISTRY }}/plate-oauth2 + docker push --all-tags ${{ env.DOCKER_REGISTRY }}/plate-oauth2