Skip to content

Commit

Permalink
Merge pull request #22450 from LorbusChris/git-arm64
Browse files Browse the repository at this point in the history
images/git: Build for arm64
  • Loading branch information
k8s-ci-robot authored Jun 18, 2021
2 parents 2814345 + 22146d8 commit 1017135
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion images/git/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM gcr.io/k8s-prow/alpine:v20200605-44f6c96
FROM gcr.io/k8s-prow/alpine:v20210618-2814345

ARG IMAGE_ARG
ENV IMAGE=${IMAGE_ARG}
Expand Down
18 changes: 10 additions & 8 deletions images/git/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
steps:
- name: gcr.io/cloud-builders/docker
- name: gcr.io/k8s-testimages/gcb-docker-gcloud
entrypoint: /buildx-entrypoint
args:
- build
- -t
- gcr.io/$PROJECT_ID/git:$_GIT_TAG
- --tag=gcr.io/$PROJECT_ID/git:$_GIT_TAG
- --platform=linux/amd64,linux/arm64/v8
- --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/git:$_GIT_TAG
- --push
- .
dir: .
- name: gcr.io/cloud-builders/docker
- name: gcr.io/k8s-testimages/gcb-docker-gcloud
entrypoint: gcloud
args:
- tag
- container
- images
- add-tag
- gcr.io/$PROJECT_ID/git:$_GIT_TAG
- gcr.io/$PROJECT_ID/git:latest
substitutions:
_GIT_TAG: '12345'
images:
- 'gcr.io/$PROJECT_ID/git:$_GIT_TAG'
- 'gcr.io/$PROJECT_ID/git:latest'

0 comments on commit 1017135

Please sign in to comment.