You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2023/07/29 05:41:41 UTC
[GitHub] [kvrocks] tisonkun commented on pull request #1617: Simply test the built docker image in nightly CI
tisonkun commented on PR #1617:
URL: https://github.com/apache/kvrocks/pull/1617#issuecomment-1656565405
@PragmaTwice I already link to [this snippet](https://github.com/korandoru/hawkeye/blob/75da87606f8f303c740d8d8d6738d8271af90d0a/.github/workflows/ci.yml#L94-L119) which has a step to "Build and load".
```yml
- name: Build and load
uses: docker/build-push-action@v3
with:
context: .
file: ${{matrix.file}}
tags: ${{matrix.name}}:ci
outputs: type=docker
- name: Sanity check
run: docker run --rm -v $(pwd):/github/workspace ${{matrix.name}}:ci check
```
Take care of `outputs` and the sanity check step we use `docker run`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org