File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 3535 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.short-sha.outputs.sha }}
3636 cache-from : type=gha
3737 cache-to : type=gha,mode=max
38-
39- - name : Update new image tag to manifests repo
40- run : |
41- git clone https://x-token-auth:${{ secrets.MANIFESTS_REPO_ACCESS_TOKEN }}@bitbucket.org/sciocore/${{ secrets.MANIFESTS_REPO }}.git && cd ${{ secrets.MANIFESTS_REPO }}
42- sed -i "s|image:.*|image:\ ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.short-sha.outputs.sha }}|" apps/${{ secrets.DOCKERHUB_REPOSITORY }}/deployment.yml
43- git add .
44- git config --global user.email "[email protected] " 45- git config --global user.name "scio"
46- git commit -m "Updated image for ${{ secrets.DOCKERHUB_REPOSITORY }}"
47- git push origin main
You can’t perform that action at this time.
0 commit comments