Skip to content

Commit 9343af0

Browse files
committed
Try to fix ci
1 parent 4dd7f8d commit 9343af0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
username: ${{ github.actor }}
3636
password: ${{ secrets.GITHUB_TOKEN }}
3737

38-
- name: Build and push
38+
- name: Build Common
3939
uses: docker/build-push-action@v6
4040
with:
4141
context: .

docker/API.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM build-common AS build-api
1+
FROM openshock.local/openshock/build-common AS build-api
22

33
COPY --link API/*.csproj API/
44
RUN dotnet restore API/API.csproj
@@ -16,6 +16,6 @@ RUN chmod +x /entrypoint.sh
1616
RUN apk update && apk add --no-cache openssl
1717

1818
COPY --link --from=build-api /app .
19-
COPY appsettings.API.json /app/appsettings.Container.json
19+
COPY docker/appsettings.API.json /app/appsettings.Container.json
2020

2121
ENTRYPOINT ["/bin/ash", "/entrypoint.sh", "OpenShock.API.dll"]

docker/Cron.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM build-common AS build-cron
1+
FROM openshock.local/openshock/build-common AS build-cron
22

33
COPY --link Cron/*.csproj Cron/
44
RUN dotnet restore Cron/Cron.csproj

docker/LiveControlGateway.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM build-common AS build-gateway
1+
FROM openshock.local/openshock/build-common AS build-gateway
22

33
COPY --link LiveControlGateway/*.csproj LiveControlGateway/
44
RUN dotnet restore LiveControlGateway/LiveControlGateway.csproj

0 commit comments

Comments
 (0)