Skip to content

Commit

Permalink
remove gosum in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
2xburnt committed Sep 25, 2024
1 parent f40e359 commit 5d2b1bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
with:
fetch-depth: 0

- name: set up make
run: |
sudo apt-get update
sudo apt-get install make
- name: Run GoReleaser
run: |
make build-all
Expand Down Expand Up @@ -65,6 +60,11 @@ jobs:
echo "HEIGHLINER_FN=heighliner/${{ matrix.runner.platform }}.tar" | tr '/' '-' | tee -a $GITHUB_ENV
echo "VERSION=$(git describe --tags | sed 's/^v//')" | tee -a $GITHUB_ENV
- uses: int128/docker-build-cache-config-action@v1
id: cache
with:
image: ghcr.io/${{ github.repository }}/cache

- name: Build Docker Image
id: build-docker
uses: docker/build-push-action@v5
Expand All @@ -77,6 +77,8 @@ jobs:
platforms: ${{ matrix.runner.platform }}
push: false
target: release
cache-from: ${{ steps.cache.outputs.cache-from }}
cache-to: ${{ steps.cache.outputs.cache-to }}
outputs: type=docker,name=xion:${{ env.PLATFORM }},name-canonical=true

- name: Build Heighliner Image
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ else
go build -mod=readonly $(BUILD_FLAGS) -o build/xiond ./cmd/xiond
endif

build-all: go.sum
build-all:
$(DOCKER) run --rm \
--platform linux/amd64 \
--volume $(CURDIR):/root/go/src/github.com/burnt-network/xion \
Expand Down

0 comments on commit 5d2b1bb

Please sign in to comment.