simply github workflow since we migrate most of CI steps to prow (#4299)

This commit is contained in:
zryfish
2021-09-28 17:54:07 +08:00
committed by GitHub
parent 09ef175e90
commit ef398dd56f
3 changed files with 7 additions and 85 deletions

View File

@@ -26,28 +26,14 @@ jobs:
with:
fetch-depth: 0
- name: Downloading go dependencies
run: go mod vendor
- name: Build
run: make all
- name: Make OpenAPI Spec
run: make openapi
- name: Build and push docker images
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
if [[ $? == 0 ]]; then
tag=nightly-$(date '+%Y%m%d')
REPO=kubespheredev TAG=${tag} make container-push
else
exit -1
fi
tag=nightly-$(date '+%Y%m%d')
REPO=kubespheredev TAG=${tag} make container-push
- name: slack
uses: 8398a7/action-slack@v3