Skip to content

Commit

Permalink
add test docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasser Isa authored Mar 7, 2024
1 parent 04fcb3e commit c18f0fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,18 @@ jobs:
- name: Race conditions test
run: make race

- name: test Build Docker image
run: docker build .

docker_set_env:
needs: [build]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
uses: zcash/.github/.github/workflows/standard-versioning-for-docker.yaml@main

docker_build_push:
uses: zcash/.github/.github/workflows/build-and-push-docker-hub.yaml@main
needs: [build, docker_set_env]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
image_name: ${{ github.event.repository.name }}
image_tags: ${{ needs.docker_set_env.outputs.tags }}
Expand Down

0 comments on commit c18f0fe

Please sign in to comment.