From e5311514fab4482c2d5ed747e32c62e6e8ad661c Mon Sep 17 00:00:00 2001 From: Tara Wilson Date: Sat, 22 Mar 2025 18:47:45 -0400 Subject: [PATCH] Updating deploy pipeline --- .gitea/workflows/deploy.yaml | 4 +++- source/ticketAPI/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 45502c7..44660d5 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -45,7 +45,7 @@ jobs: PublishUI: runs-on: osx needs: [BuildUI] - name: Publish API Docker Image + name: Publish UI Docker Image steps: - name: Check out repository code uses: actions/checkout@v4 @@ -67,6 +67,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . + file: source/ticketUI/Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/ticket-ui:${{ github.ref_name }} PublishAPI: @@ -94,5 +95,6 @@ jobs: uses: docker/build-push-action@v6 with: context: . + file: source/ticketAPI/Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/ticket-api:${{ github.ref_name }} \ No newline at end of file diff --git a/source/ticketAPI/Dockerfile b/source/ticketAPI/Dockerfile index fb19efe..f4802ea 100644 --- a/source/ticketAPI/Dockerfile +++ b/source/ticketAPI/Dockerfile @@ -1,5 +1,5 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0 -COPY artifacts /app +COPY ../../artifacts/api /app WORKDIR /app EXPOSE 80 ENTRYPOINT ["dotnet", "api.dll"] \ No newline at end of file