diff --git a/.github/workflows/peerpod-ctrl_image.yaml b/.github/workflows/peerpod-ctrl_image.yaml index 13136925b..444dc7f6c 100644 --- a/.github/workflows/peerpod-ctrl_image.yaml +++ b/.github/workflows/peerpod-ctrl_image.yaml @@ -10,8 +10,6 @@ on: branches: - main - huoqifeng/peerpod-ctl-img - paths: - - 'peerpod-ctrl/**' jobs: peerpod_push: @@ -26,7 +24,7 @@ jobs: uses: actions/checkout@v3 - name: Read properties from versions.yaml run: | - go_version="$(yq '.tools.golang' versions.yaml)" + go_version="$(yq '.tools.golang' ../versions.yaml)" [ -n "$go_version" ] echo "GO_VERSION=${go_version}" >> "$GITHUB_ENV" diff --git a/peerpod-ctrl/Dockerfile b/peerpod-ctrl/Dockerfile index 884bceff0..53849c7a6 100644 --- a/peerpod-ctrl/Dockerfile +++ b/peerpod-ctrl/Dockerfile @@ -19,7 +19,6 @@ COPY main.go main.go COPY api/ api/ COPY controllers/ controllers/ - # Build # the GOARCH has not a default value to allow the binary be built according to the host where the command # was called. For example, if we call make docker-build in a local env which has the Apple Silicon M1 SO