|
|
@ -30,12 +30,15 @@ runs:
|
|
|
|
- name: Download all workflow run artifacts
|
|
|
|
- name: Download all workflow run artifacts
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
- uses: ./.github/actions/setup_environment
|
|
|
|
- uses: ./.github/actions/setup_environment
|
|
|
|
- if: inputs.dockerfile_path != ""
|
|
|
|
- if: "inputs.dockerfile_path != ''"
|
|
|
|
run: echo "export DOCKERFILE_PATH=${{ inputs.dockerfile_path }}" >> /tmp/tmp-profile
|
|
|
|
run: echo "export DOCKERFILE_PATH=${{ inputs.dockerfile_path }}" >> /tmp/tmp-profile
|
|
|
|
- if: inputs.container_image_name != ""
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- if: "inputs.container_image_name != ''"
|
|
|
|
run: echo "export DOCKER_IMAGE_NAME=${{ inputs.container_image_name }}" >> /tmp/tmp-profile
|
|
|
|
run: echo "export DOCKER_IMAGE_NAME=${{ inputs.container_image_name }}" >> /tmp/tmp-profile
|
|
|
|
- if: inputs.dockerbuild_context != ""
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- if: "inputs.dockerbuild_context != ''"
|
|
|
|
run: echo "export DOCKERBUILD_CONTEXT=${{ inputs.dockerbuild_context }}" >> /tmp/tmp-profile
|
|
|
|
run: echo "export DOCKERBUILD_CONTEXT=${{ inputs.dockerbuild_context }}" >> /tmp/tmp-profile
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
- run: |
|
|
|
|
- run: |
|
|
|
|
touch /tmp/tmp-profile
|
|
|
|
touch /tmp/tmp-profile
|
|
|
|
. /tmp/tmp-profile
|
|
|
|
. /tmp/tmp-profile
|
|
|
@ -44,3 +47,4 @@ runs:
|
|
|
|
echo ${{ inputs.password }} | docker login -u ${{ inputs.login }} --password-stdin ${{ inputs.registry }}
|
|
|
|
echo ${{ inputs.password }} | docker login -u ${{ inputs.login }} --password-stdin ${{ inputs.registry }}
|
|
|
|
make docker-publish DOCKER_REPO=${{ inputs.registry }}/${{ inputs.organization }}
|
|
|
|
make docker-publish DOCKER_REPO=${{ inputs.registry }}/${{ inputs.organization }}
|
|
|
|
make docker-manifest DOCKER_REPO=${{ inputs.registry }}/${{ inputs.organization }}
|
|
|
|
make docker-manifest DOCKER_REPO=${{ inputs.registry }}/${{ inputs.organization }}
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|