From b0e31e1275b60d0b2358c35afcffc76a282eb3cc Mon Sep 17 00:00:00 2001 From: Michael Gardner Date: Thu, 8 Feb 2024 14:08:14 -0500 Subject: [PATCH] HPCC-31261 Enable upload of docker image to developer dockerhub repository Signed-off-by: Michael Gardner --- .github/workflows/build-assets.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index 3ae7495c01a..2264593925b 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -251,14 +251,14 @@ jobs: builder: ${{ steps.buildx.outputs.name }} file: ${{ needs.preamble.outputs.folder_platform }}/dockerfiles/vcpkg/platform-core-${{ matrix.os }}/Dockerfile context: ${{ needs.preamble.outputs.folder_build }} - push: ${{ github.repository_owner == 'hpcc-systems' }} + push: true build-args: | PKG_FILE=${{ steps.container.outputs.k8s_pkg_file }} tags: | - hpccsystems/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.community_tag }} - hpccsystems/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.candidate_base_branch }} + ${{secrets.DOCKER_USERNAME}}/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.community_tag }} + ${{secrets.DOCKER_USERNAME}}/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.candidate_base_branch }} cache-from: | - type=registry,ref=hpccsystems/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.candidate_base_branch }} + type=registry,ref=${{secrets.DOCKER_USERNAME}}/platform-core-${{ matrix.os }}:${{ needs.preamble.outputs.candidate_base_branch }} # Internal Build --- - name: Login to JFrog (internal)