File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 55
55
run : docker build . --file Dockerfile --tag $IMAGE_NAME
56
56
57
57
- name : Log into registry
58
- run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
58
+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
59
59
60
60
- name : version output
61
61
id : version
73
73
74
74
- name : Push image
75
75
run : |
76
- IMAGE_ID=docker.pkg.github.com /${{ github.repository }}/$IMAGE_NAME
76
+ IMAGE_ID=ghcr.io /${{ github.repository }}/$IMAGE_NAME
77
77
78
78
# Change all uppercase to lowercase
79
79
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
83
83
84
84
docker tag $IMAGE_NAME $IMAGE_ID:${{ steps.version.outputs.image_tag }}
85
85
docker push $IMAGE_ID:${{ steps.version.outputs.image_tag }}
86
-
86
+
87
+ # # generating helm charts as this artifact is not checked-in
88
+ - name : Create required directories
89
+ run : mkdir -p .appcd/charts && chmod 777 .appcd -R
90
+
87
91
- name : run appCD
88
92
run : |
89
93
docker run --rm \
@@ -105,5 +109,5 @@ jobs:
105
109
git config user.name github-actions
106
110
git config user.email github-actions@github.com
107
111
git add ./gitops
108
- git commit -m "Update dogeapi.yaml "
112
+ git commit -m "chore: update gitops/ with updated k8s specs "
109
113
git push
You can’t perform that action at this time.
0 commit comments