WiP
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
e43acd5b65
commit
5915107446
2 changed files with 2 additions and 2 deletions
1
.github/workflows/build-and-push.yml
vendored
1
.github/workflows/build-and-push.yml
vendored
|
|
@ -26,7 +26,6 @@ jobs:
|
|||
- name: "Checkout"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
path: src/github.com/cloudbase/garm
|
||||
fetch-depth: 0
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ LABEL stage=builder
|
|||
|
||||
RUN apk add --no-cache musl-dev gcc libtool m4 autoconf g++ make libblkid util-linux-dev git linux-headers upx curl jq
|
||||
RUN git config --global --add safe.directory /build && git config --global --add advice.detachedHead false
|
||||
RUN echo ${GARM_REF}
|
||||
|
||||
ADD . /build/garm
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ RUN cd /build/garm/cmd/garm-cli \
|
|||
-tags osusergo,netgo,sqlite_omit_load_extension \
|
||||
-ldflags "-linkmode external -extldflags '-static' -s -w -X github.com/cloudbase/garm/util/appdefaults.Version=$(git describe --tags --match='v[0-9]*' --dirty --always)" \
|
||||
. && upx /bin/garm-cli
|
||||
RUN set -e; \
|
||||
RUN set -ex; \
|
||||
mkdir -p /opt/garm/providers.d; \
|
||||
for repo in \
|
||||
cloudbase/garm-provider-azure \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue