ci: update github workflow to test docker build

updated github action to test a retest action
docker build workflow.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-11-16 20:25:59 +05:30 committed by mergify[bot]
parent c4ceadd06a
commit b62de1376d

View File

@ -11,13 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Enter retest directory
run: cd actions/retest
- name: Build
run: go build -v ./...
- name: Docker build
# Run cd to avoid loading complete cephcsi directory in docker context
# while building retest image.
run: cd actions/retest && docker build -t retest .