From 0e3985c97ee4d035b35b4ccfca8b5cfe0de6d726 Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Tue, 9 Jan 2024 19:56:50 +0100 Subject: [PATCH] ci: remove reference to absent go.mod file --- .github/actions/versionsapi/Dockerfile | 2 -- .github/actions/versionsapi/action.yml | 1 + .github/workflows/build-versionsapi-ci-image.yml | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/versionsapi/Dockerfile b/.github/actions/versionsapi/Dockerfile index 4305d04b90..50ee088da5 100644 --- a/.github/actions/versionsapi/Dockerfile +++ b/.github/actions/versionsapi/Dockerfile @@ -4,8 +4,6 @@ FROM golang:1.21.5@sha256:1a9d253b11048b1c76b690b0c09d78d200652e4e913d5d1dcc8eb8 WORKDIR /workspace COPY go.mod go.mod COPY go.sum go.sum -COPY operators/constellation-node-operator/api/go.mod ./operators/constellation-node-operator/api/go.mod -COPY operators/constellation-node-operator/api/go.sum ./operators/constellation-node-operator/api/go.sum # cache deps before building and copying source so that we don't need to re-download as much # and so that source changes don't invalidate our downloaded layer RUN go mod download diff --git a/.github/actions/versionsapi/action.yml b/.github/actions/versionsapi/action.yml index fac38adcb4..fd236dec1c 100644 --- a/.github/actions/versionsapi/action.yml +++ b/.github/actions/versionsapi/action.yml @@ -54,6 +54,7 @@ runs: steps: - name: Get versionsapi binary shell: bash + # TODO: This should probably be `bazel run`. run: | containerID=$(docker create "ghcr.io/edgelesssys/constellation/versionsapi-ci-cli:latest") docker cp ${containerID}:/versionsapi . diff --git a/.github/workflows/build-versionsapi-ci-image.yml b/.github/workflows/build-versionsapi-ci-image.yml index 5dbf747317..8a8295e9d5 100644 --- a/.github/workflows/build-versionsapi-ci-image.yml +++ b/.github/workflows/build-versionsapi-ci-image.yml @@ -9,6 +9,7 @@ on: - "internal/api/versionsapi/**" - ".github/workflows/build-versionsapi-ci-image.yml" - ".github/actions/versionsapi/**" + - "go.mod" jobs: build-versionsapi-ci-cli: