Skip to content

Commit

Permalink
fix: container name
Browse files Browse the repository at this point in the history
  • Loading branch information
qjerome authored Nov 29, 2024
1 parent 3a4a671 commit 2b376f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build the Docker image
run: docker build . --file Dockerfile --tag kunai-build:$(date +%s)
run: docker build . --file Dockerfile --tag kunai-build

- name: Checkout Kunai
uses: actions/checkout@v3
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Build Kunai
run: |
set -euxo pipefail
docker run -t --name japanese_knife -v $PWD/kunai:/kunai-src -w /kunai-src kunai-build:$(date +%s) cargo xbuild
docker run -t --name japanese_knife -v $PWD/kunai:/kunai-src -w /kunai-src kunai-build cargo xbuild
exit_code=$(docker container inspect --format '{{.State.ExitCode}}' japanese_knife)
docker container rm japanese_knife
exit $exit_code

0 comments on commit 2b376f5

Please sign in to comment.