We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d94ae4 commit 06a2b1cCopy full SHA for 06a2b1c
.github/container/Dockerfile
@@ -1,4 +1,5 @@
1
FROM alpine:3.15.4 AS build
2
+ARG REPOSITORY=https://github.com/processone/ejabberd.git
3
ARG VERSION=master
4
5
RUN apk upgrade --update musl \
@@ -30,7 +31,7 @@ RUN mix local.hex --force \
30
31
32
WORKDIR ejabberd
33
-RUN git clone https://github.com/processone/ejabberd.git . \
34
+RUN git clone $REPOSITORY . \
35
&& git checkout $VERSION \
36
&& mv .github/container/ejabberdctl.template . \
37
&& ./autogen.sh \
.github/workflows/container.yml
@@ -58,6 +58,7 @@ jobs:
58
uses: docker/[email protected]
59
with:
60
build-args: |
61
+ REPOSITORY=https://github.com/${{ github.repository }}.git
62
VERSION=${{ steps.gitdescribe.outputs.ver }}
63
cache-from: type=gha
64
cache-to: type=gha,mode=max
0 commit comments