diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 3ec747c..7469505 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -20,36 +20,6 @@ jobs: uses: actions/checkout@v5 - name: Build Auth Service - working-directory: ./app/auth_service/auth_service - env: - CGO_ENABLED: 0 run: | - go build -v -o auth_service . - mv auth_service ../../../../ - - - name: Build User Management - working-directory: ./app/user_management/user_management - env: - CGO_ENABLED: 0 - run: | - go build -v -o user_management . - mv user_management ../../../../ - - - name: Prepare Docker Environment - run: | - cat < Dockerfile - FROM alpine - WORKDIR /app - COPY auth_service user_management ./ - EXPOSE 8888 8889 - CMD ["./auth_service & ./user_management"] - EOF - - - name: Build and Run Container - run: | - docker build -t combined-services . - docker run -d \ - -p 8888:8888 \ - -p 8889:8889 \ - --name services-container \ - combined-services \ No newline at end of file + ls -la + tree \ No newline at end of file