Skip to content

Commit

Permalink
Update docker SIT (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicklas373 authored Nov 27, 2024
2 parents a54080f + 14a6b42 commit 8e5634c
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/docker-sit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,40 +85,3 @@ jobs:
run: |
chmod +x ./module/bash/docker-build-info.sh
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
instance_build_image:
runs-on: ubuntu-latest
needs: [api_build_image, pdf_build_image]

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Cleanup Unused Docker Images
run: docker rmi $(docker images -q) || true

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: nicklas373
password: ${{ secrets.DOCKER_PAT }}

- name: Build Instance Docker Image
run: |
docker build \
-t nicklas373/hana-instance-services-sit:1.3 \
-f Dockerfile/Dockerfile.hana-instance-services.sit \
.
mkdir -p instance_image
docker save -o instance_image/instance_image.tar nicklas373/hana-instance-services-sit:1.3
- name: Load Docker Images
run: docker load -i instance_image/instance_image.tar

- name: Deploy Docker Image to Docker Hub
run: docker push nicklas373/hana-instance-services-sit:1.3

- name: Docker Success Notifications
run: |
chmod +x ./module/bash/docker-build-info.sh
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 comments on commit 8e5634c

Please sign in to comment.