Skip to content

Commit 8e5634c

Browse files
authored
Update docker SIT (#290)
2 parents a54080f + 14a6b42 commit 8e5634c

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

Diff for: .github/workflows/docker-sit.yml

-37
Original file line numberDiff line numberDiff line change
@@ -85,40 +85,3 @@ jobs:
8585
run: |
8686
chmod +x ./module/bash/docker-build-info.sh
8787
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

0 commit comments

Comments
 (0)