Skip to content

Commit

Permalink
operator: build multi-arch images for peerpod-ctl
Browse files Browse the repository at this point in the history
Fixes: #1432

Signed-off-by: Qi Feng Huo <[email protected]>
  • Loading branch information
Qi Feng Huo committed Sep 14, 2023
1 parent 3da6b9e commit 0544847
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/peerpod-ctrl_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
branches:
- main
- huoqifeng/peerpod-ctl-img
paths:
- 'peerpod-ctrl/**'

jobs:
peerpod_push:
Expand All @@ -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"
Expand Down
1 change: 0 additions & 1 deletion peerpod-ctrl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0544847

Please sign in to comment.