File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 5454 RELEASE_IMAGE="${{ env.DOCKERHUB_CONTAINER_REGISTRY }}/${{ env.PARENT_IMAGE_NAME }}:${{ github.event.release.tag_name }}-${{ vars.PARENT_IMAGE_TYPE }}"
5555 BASE_REF="dev"
5656 PR_TITLE="ci(pi): $RELEASE_IMAGE"
57+
58+ git config user.email "[email protected] " 59+ git config user.name "GitHub Actions"
5760
5861 git checkout "${{ env.HEAD_REF }}" || git checkout -b "${{ env.HEAD_REF }}"
5962 git push origin "${{ env.HEAD_REF }}" && git pull origin "${{ env.HEAD_REF }}"
6467 -r "${{ env.DOCKERHUB_CONTAINER_REGISTRY }}" \
6568 -d "${{ env.DOCKERFILE }}" \
6669 -h "${{ env.HEAD_REF }}"
70+ git add ${{ env.DOCKERFILE }}
6771
6872 if [ -f "dev.${{ env.DOCKERFILE }}" ]; then
6973 bash ${{ github.workspace }}/cicd-deployment-scripts/pi/edit_dockerfile.sh \
7276 -r "${{ env.DOCKERHUB_CONTAINER_REGISTRY }}" \
7377 -d "dev.${{ env.DOCKERFILE }}" \
7478 -h "${{ env.HEAD_REF }}"
79+ git add dev.${{ env.DOCKERFILE }}
7580 fi
7681
7782 if [ -f "gpu.${{ env.DOCKERFILE }}" ]; then
8186 -r "${{ env.DOCKERHUB_CONTAINER_REGISTRY }}" \
8287 -d "gpu.${{ env.DOCKERFILE }}" \
8388 -h "${{ env.HEAD_REF }}"
89+ git add gpu.${{ env.DOCKERFILE }}
8490 fi
8591
86- git config user.email "[email protected] " 87- git config user.name "GitHub Actions"
88-
89- git add ${{ env.DOCKERFILE }}
9092 git commit -m "$PR_TITLE" || true
9193 git push --force origin "${{ env.HEAD_REF }}"
9294 echo "::notice::${{ matrix.app }} updated to $RELEASE_IMAGE"
You can’t perform that action at this time.
0 commit comments