Skip to content

Merge branch 'pr-hero-doc' into work-hero-doc #48

Merge branch 'pr-hero-doc' into work-hero-doc

Merge branch 'pr-hero-doc' into work-hero-doc #48

name: DASH-docker-grpc1.43.2-build-image
on:
push:
branches: [ "**" ]
paths:
- '.github/workflows/dash-grpc1.43.2-docker.yml'
- 'dash-pipeline/Makefile'
- 'dash-pipeline/dockerfiles/Dockerfile.grpc1.43.2'
- 'dash-pipeline/dockerfiles/DOCKER_GRPC_IMG.env'
- 'dash-pipeline/.dockerignore'
- 'dash-pipeline/dockerfiles/.dockerignore'
pull_request:
branches: [ "**" ]
paths:
- '.github/workflows/dash-grpc1.43.2-docker.yml'
- 'dash-pipeline/Makefile'
- 'dash-pipeline/dockerfiles/Dockerfile.grpc1.43.2'
- 'dash-pipeline/dockerfiles/DOCKER_GRPC_IMG.env'
- 'dash-pipeline/.dockerignore'
- 'dash-pipeline/dockerfiles/.dockerignore'
workflow_dispatch:
jobs:
build:
name: Build docker dash-grpc1.43.2 image
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ./dash-pipeline
steps:
- uses: actions/checkout@v3
- name: Build dash-grpc1.43.2 docker image
run: make docker-dash-grpc
- uses: azure/docker-login@v1
if: ${{ github.event_name != 'pull_request' && github.repository == 'sonic-net/DASH' }}
with:
login-server: sonicdash.azurecr.io
username: ${{ secrets.DASH_ACR_USERNAME }}
password: ${{ secrets.DASH_ACR_PASSWORD }}
- name: Publish dash-grpc1.43.2 image
if: ${{ github.event_name != 'pull_request' && github.repository == 'sonic-net/DASH' }}
run: make docker-publish-dash-grpc