Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # ratchet:docker/build-push-action@v7
with:
context: .
build-args: VERSION=v0.0.0-rolling+${{ github.sha }}
build-args: VERSION=v0.0.0
tags: azurehound # temporary tag to simplify oci conversion
labels: ${{ steps.meta.outputs.labels }}
push: false
Expand All @@ -96,7 +96,7 @@ jobs:
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # ratchet:docker/build-push-action@v7
with:
context: .
build-args: VERSION=v0.0.0-rolling+${{ github.sha }}
build-args: VERSION=v0.0.0
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: ${{ ! startsWith(github.event_name, 'pull_request') }}
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
continue-on-error: true
run: |
echo "Generating Windows resources..."
go run winres/generate-windows-resources/generate-windows-resources.go "v0.0.0-rolling+${{ github.sha }}"
go run winres/generate-windows-resources/generate-windows-resources.go "v0.0.0"

- name: Build
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=v0.0.0-rolling+${{ github.sha }}"'
run: 'go build -ldflags="-s -w -X github.com/bloodhoundad/azurehound/v2/constants.Version=v0.0.0"'
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
Expand Down
Loading