@@ -49,33 +49,33 @@ jobs:
49
49
50
50
- name : Perform Edit/Git Operations
51
51
run : |
52
+ RELEASE_IMAGE="${{ env.DOCKERHUB_CONTAINER_REGISTRY }}/${{ env.PARENT_IMAGE_NAME }}:${{ github.event.release.tag_name }}-${{ matrix.parent_image_type }}"
53
+ BASE_REF="dev"
54
+ HEAD_REF="parent-images"
55
+ PR_TITLE="ci(pi): update to $RELEASE_IMAGE"
56
+
52
57
git branch -D "$HEAD_REF" || true
53
58
git checkout -b "$HEAD_REF"
54
-
59
+
55
60
bash cicd-deployment-scripts/pi/edit_dockerfile.sh \
56
61
-i ${{ env.PARENT_IMAGE_NAME }} \
57
62
-t ${{ matrix.parent_image_type }} \
58
63
-l ${{ github.event.release.tag_name }} \
59
64
-r ${{ env.DOCKERHUB_CONTAINER_REGISTRY }} \
60
65
-d ${{ env.DOCKERFILE }}
61
66
62
- LATEST_IMAGE_TAG="${{ env.DOCKERHUB_CONTAINER_REGISTRY }}/${{ env.PARENT_IMAGE_NAME }}:${{ github.event.release.tag_name }}-${{ matrix.parent_image_type }}"
63
- BASE_REF="dev"
64
- HEAD_REF="parent-images"
65
- PR_TITLE="ci(pi): update to $LATEST_IMAGE_TAG"
66
-
67
67
git config user.email "[email protected] "
68
68
git config user.name "GitHub Actions"
69
69
70
70
git add ${{ env.DOCKERFILE }}
71
71
git commit -m "$PR_TITLE" || true
72
72
git push --force origin "$HEAD_REF"
73
- echo "::notice::${{ matrix.app }} updated to $LATEST_IMAGE_TAG "
73
+ echo "::notice::${{ matrix.app }} updated to $RELEASE_IMAGE "
74
74
75
75
bash cicd-deployment-scripts/pi/pr_create.sh \
76
76
-b "$BASE_REF" \
77
77
-h "$HEAD_REF" \
78
- -t "ci(pi): update to $LATEST_IMAGE_TAG " \
78
+ -t "ci(pi): update to $RELEASE_IMAGE " \
79
79
-o ${{ github.repository_owner }} \
80
80
-r ${{ github.event.repository.name }} \
81
81
-n ${{ github.event.release.tag_name }} \
0 commit comments