generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 959 Bytes
/
build-grpcbin.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
name: grpcbin image build & push
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: europe-central2-docker.pkg.dev
username: _json_key_base64
password: ${{ secrets.DOCKER_PUSH_SA_KEY }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
file: grpcbin/Dockerfile
context: grpcbin
push: true
tags: europe-central2-docker.pkg.dev/sap-se-cx-kyma-goat/networking-dev-tools/grpcbin:${{ github.sha }},europe-central2-docker.pkg.dev/sap-se-cx-kyma-goat/networking-dev-tools/grpcbin:latest