Skip to content

Commit

Permalink
ci: create file for git monkeypatch
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonlesisz authored and onvej-sl committed Jul 12, 2023
1 parent 0578f3d commit b34126a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-coinjoin-backend-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- run: make create-git-rev
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
.PHONY: build vendor build-image create-container start stop run-wallet
.PHONY: build vendor create-git-rev build-image create-container start stop run-wallet


build: vendor build-image create-container
build: vendor create-git-rev build-image create-container

vendor:
git submodule update --init --recursive --force

build-image:
create-git-rev:
# create file for git monkeypatch (see ./scripts/git)
(cd ./vendor/WalletWasabi && git rev-parse HEAD) > scripts/WalletWasabi-HEAD

build-image:
docker build -f ./Dockerfile -t coinjoin-backend-image .

create-container:
Expand Down

0 comments on commit b34126a

Please sign in to comment.