File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 44
44
with :
45
45
token : ${{ secrets.GH_TOKEN }}
46
46
repository : ${{ github.repository_owner }}/${{ matrix.app }}
47
+ fetch-depth : 0
47
48
48
49
- name : Clone cicd-deployment-scripts
49
50
run : git clone https://oauth2:${{ secrets.GH_TOKEN }}@github.com/code-kern-ai/cicd-deployment-scripts.git
@@ -58,11 +59,11 @@ jobs:
58
59
git push origin "${{ env.HEAD_REF }}" && git pull origin "${{ env.HEAD_REF }}"
59
60
60
61
bash cicd-deployment-scripts/pi/edit_dockerfile.sh \
61
- -i ${{ env.PARENT_IMAGE_NAME }} \
62
- -t ${{ matrix.parent_image_type }} \
63
- -l ${{ github.event.release.tag_name }} \
64
- -r ${{ env.DOCKERHUB_CONTAINER_REGISTRY }} \
65
- -d ${{ env.DOCKERFILE }}
62
+ -i " ${{ env.PARENT_IMAGE_NAME }}" \
63
+ -t " ${{ matrix.parent_image_type }}" \
64
+ -l " ${{ github.event.release.tag_name }}" \
65
+ -r " ${{ env.DOCKERHUB_CONTAINER_REGISTRY }}" \
66
+ -d " ${{ env.DOCKERFILE }}"
66
67
67
68
git config user.email "[email protected] "
68
69
git config user.name "GitHub Actions"
Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
PARENT_IMAGE_NAME=" refinery-parent-images"
6
- PARENT_IMAGE_TYPE=" common "
7
- RELEASE_TAG=" v1.19.1 "
6
+ PARENT_IMAGE_TYPE=" "
7
+ RELEASE_TAG=" "
8
8
DOCKER_REGISTRY=" kernai"
9
9
DOCKERFILE=" Dockerfile"
10
10
19
19
esac
20
20
done
21
21
22
- line=$( grep " ${DOCKER_REGISTRY} /${PARENT_IMAGE_NAME} :" $DOCKERFILE )
22
+ line=$( grep " ${DOCKER_REGISTRY} /${PARENT_IMAGE_NAME} :v.*- ${PARENT_IMAGE_TYPE} " $DOCKERFILE )
23
23
24
24
PI_EXISTING_TAG=$( echo $line | sed ' s|FROM ||g' | cut -d ' :' -f 2)
25
25
PI_EXISTING_IMAGE=" ${DOCKER_REGISTRY} /${PARENT_IMAGE_NAME} :${PI_EXISTING_TAG} "
You can’t perform that action at this time.
0 commit comments