Skip to content

Commit

Permalink
build test for pr image
Browse files Browse the repository at this point in the history
  • Loading branch information
wawa0210 committed Sep 22, 2024
1 parent a4ddf05 commit 4e80a0f
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
# for PRs initiated by Dependabot.
branches-ignore:
- 'dependabot/**'
permissions:
contents: read # for actions/checkout to fetch code

env:
REGISTRY: docker.io
Expand Down Expand Up @@ -68,11 +70,7 @@ jobs:
flags: unittests
fail_ci_if_error: false
verbose: true
# - name: Generating image tag
# id: runtime-tag
# run: |
# echo tag="$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
# - run: SHORT_VERSION=${{ steps.runtime-tag.outputs.tag }} bash ./hack/build.sh


build:
name: compile
Expand Down Expand Up @@ -107,12 +105,6 @@ jobs:
basePath: # optional, default is .
submodulePath: libvgpu

- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.DOCKERHUB_PASSWD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down Expand Up @@ -140,5 +132,5 @@ jobs:
NVIDIA_IMAGE=nvidia/cuda:12.2.0-devel-ubuntu20.04
DEST_DIR=/usr/local
tags: ${{ steps.meta.outputs.tags }}
push: true
push: false
github-token: ${{ env.REGISTER_PASSWORD }}

0 comments on commit 4e80a0f

Please sign in to comment.