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