forked from tetratelabs/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 927 Bytes
/
tools.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build tools docker
on:
workflow_dispatch:
inputs:
ref:
description: Ref [a branch or a tag, e.g. release/1.13]
required: true
jobs:
build_tools_docker:
name: build tools docker
runs-on: ["self-hosted", "arm64"]
env:
HUB: gcr.io/tetrate-istio-arm
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: "istio/tools"
ref: ${{ github.event.inputs.ref }}
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- name: Configure Docker
run: |
gcloud auth configure-docker
- name: Build images
run: |
cd docker/build-tools
./build-and-push.sh
shell: bash