From 683fb4ce09283db91293469fad9665bb8ac6d377 Mon Sep 17 00:00:00 2001 From: limengxuan Date: Thu, 8 Feb 2024 14:23:01 +0800 Subject: [PATCH] update docs Signed-off-by: limengxuan --- .github/workflows/ci.yaml | 47 -------------------------------------- .github/workflows/main.yml | 4 ++-- 2 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 4f61fb4d..00000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI -on: - pull_request_target: - branches: ['master', 'release/**'] - push: - branches: ['master'] - -env: - GO_VERSION: "1.21.6" - -jobs: - build: - name: build-dev-image - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Checkout submodule - uses: Mushus/checkout-submodule@v1.0.1 - with: - basePath: # optional, default is . - submodulePath: libvgpu - - - name: Setup Go environment - uses: actions/setup-go@v5.0.0 - with: - go-version: 1.21 - - - name: Get branch name - uses: nelonoel/branch-name@v1.0.1 - - - name: Docker Login - uses: docker/login-action@v1.10.0 - with: - username: ${{ secrets.DOCKERHUB_TOKEN }} - password: ${{ secrets.DOCKERHUB_PASSWD }} - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v1 - - - name: Setup protoc - uses: arduino/setup-protoc@v1.1.2 - - - run: make tidy - - run: SHORT_VERSION="dev" bash ./hack/build.sh \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c67833c..e2d42889 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,9 +48,9 @@ jobs: # Server address of Docker registry. If not set then will default to Docker Hub # registry: 4pdosc # Username used to log against the Docker registry - username: ${{ secrets.DOCKERHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} # Password or personal access token used to log against the Docker registry - password: ${{ secrets.DOCKERHUB_PASSWD }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx id: buildx