Skip to content

Commit

Permalink
add docker login to gha
Browse files Browse the repository at this point in the history
  • Loading branch information
eduadiez committed Jul 24, 2024
1 parent 22c9825 commit 3587d00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr_emulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
RUST_BACKTRACE: 1

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run Docker container
run: |
docker run --rm -v {{ github.workspace }}//target/release/ziskemu:/program hermeznetwork/ziskof:latest

0 comments on commit 3587d00

Please sign in to comment.