File tree 1 file changed +0
-37
lines changed
1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change 85
85
run : |
86
86
chmod +x ./module/bash/docker-build-info.sh
87
87
bash ./module/bash/docker-build-info.sh ${{ secrets.TG_TOKEN }} ${{ secrets.TG_CHAT_ID }} HANA_PDF_Container_[SIT] https://github.com/Nicklas373/hana-pdf/actions/workflows/docker-sit-env.yml pdf_build_image Done
88
-
89
- instance_build_image :
90
- runs-on : ubuntu-latest
91
- needs : [api_build_image, pdf_build_image]
92
-
93
- steps :
94
- - name : Checkout Code
95
- uses : actions/checkout@v4
96
-
97
- - name : Cleanup Unused Docker Images
98
- run : docker rmi $(docker images -q) || true
99
-
100
- - name : Login to Docker Hub
101
- uses : docker/login-action@v3
102
- with :
103
- username : nicklas373
104
- password : ${{ secrets.DOCKER_PAT }}
105
-
106
- - name : Build Instance Docker Image
107
- run : |
108
- docker build \
109
- -t nicklas373/hana-instance-services-sit:1.3 \
110
- -f Dockerfile/Dockerfile.hana-instance-services.sit \
111
- .
112
- mkdir -p instance_image
113
- docker save -o instance_image/instance_image.tar nicklas373/hana-instance-services-sit:1.3
114
-
115
- - name : Load Docker Images
116
- run : docker load -i instance_image/instance_image.tar
117
-
118
- - name : Deploy Docker Image to Docker Hub
119
- run : docker push nicklas373/hana-instance-services-sit:1.3
120
-
121
- - name : Docker Success Notifications
122
- run : |
123
- chmod +x ./module/bash/docker-build-info.sh
124
- bash ./module/bash/docker-build-info.sh ${{ secrets.TG_TOKEN }} ${{ secrets.TG_CHAT_ID }} HANA_PDF_Container_[SIT] https://github.com/Nicklas373/hana-pdf/actions/workflows/docker-sit-env.yml instance_build_image Done
You can’t perform that action at this time.
0 commit comments