mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 14:49:33 +02:00
Release the tarball
This commit is contained in:
parent
8c687372c9
commit
ecafc5236e
2 changed files with 9 additions and 2 deletions
6
.github/workflows/build_image.yml
vendored
6
.github/workflows/build_image.yml
vendored
|
@ -20,6 +20,12 @@ jobs:
|
||||||
LATEST_GIT_TAG=$(git describe --tags --abbrev=0)
|
LATEST_GIT_TAG=$(git describe --tags --abbrev=0)
|
||||||
echo "TAG=ghcr.io/internetee/epp_proxy:$LATEST_GIT_TAG" >> $GITHUB_ENV
|
echo "TAG=ghcr.io/internetee/epp_proxy:$LATEST_GIT_TAG" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Set config
|
||||||
|
env:
|
||||||
|
SYSCONF: ${{ secrets.SYSCONF }}
|
||||||
|
run: |
|
||||||
|
echo $SYSCONF | base64 -di > config/sys.config
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
env:
|
env:
|
||||||
KEY_BASE: ${{ secrets.KEY_BASE}}
|
KEY_BASE: ${{ secrets.KEY_BASE}}
|
||||||
|
|
|
@ -34,7 +34,7 @@ RUN git clone https://github.com/asdf-vm/asdf.git "$HOME"/.asdf && \
|
||||||
|
|
||||||
ENV PATH="${PATH}:/root/.asdf/shims:/root/.asdf/bin"
|
ENV PATH="${PATH}:/root/.asdf/shims:/root/.asdf/bin"
|
||||||
|
|
||||||
RUN mkdir -p /opt/erlang/epp_proxy
|
RUN mkdir -p /opt/erlang/epp_proxy/release
|
||||||
WORKDIR /opt/erlang/epp_proxy
|
WORKDIR /opt/erlang/epp_proxy
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -45,4 +45,5 @@ RUN asdf plugin-add ruby
|
||||||
RUN asdf plugin-add rebar
|
RUN asdf plugin-add rebar
|
||||||
RUN asdf install
|
RUN asdf install
|
||||||
|
|
||||||
RUN rebar3 release
|
RUN rebar3 as prod do release tar
|
||||||
|
RUN tar -xf _build/prod/rel/epp_proxy/epp_proxy-0.1.11.tar.gz -C release
|
Loading…
Add table
Add a link
Reference in a new issue