Skip to content

Commit

Permalink
commit from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Feb 10, 2024
1 parent 0b09465 commit 2869201
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/ppc64le
build-args: |
version=${{ github.ref_name }}
commit=${{ github.sha }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ LABEL org.opencontainers.image.description="⛵ The immutable, decentralized, st
LABEL org.opencontainers.image.licenses=Apache-2.0

ARG version
ARG commit

RUN apk --no-cache add git &&\
git clone --depth=1 --branch v0.24.6 https://github.com/mudler/edgevpn.git /tmp/edgevpn &&\
cd /tmp/edgevpn &&\
export commit=$(git rev-parse HEAD) &&\
go build -v -ldflags "-s -w -X 'github.com/mudler/edgevpn/internal.Version=${version:-dev}' -X 'github.com/mudler/edgevpn/internal.Commit=${commit:-dev}'" -o /edgevpn &&\
cd - &&\
rm -rf /tmp/edgevpn
Expand Down

0 comments on commit 2869201

Please sign in to comment.