mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 16:42:41 +00:00
try arg again
This commit is contained in:
parent
bc02d5c5c7
commit
5ef69830ac
12
.github/workflows/release.yaml
vendored
12
.github/workflows/release.yaml
vendored
|
@ -45,8 +45,9 @@ jobs:
|
|||
# name: Get branch names
|
||||
# id: branch-name
|
||||
# uses: tj-actions/branch-names@v4
|
||||
- name: Set up .env
|
||||
run: cp .tool-versions.env .env
|
||||
- name: Set up env
|
||||
run: export ELIXIR_DOCKER_IMAGE="${ELIXIR_VERSION}-erlang-${ERLANG_VERSION}-alpine-${ALPINE_VERSION}" && echo $ELIXIR_DOCKER_IMAGE
|
||||
#run: cp .tool-versions.env .env
|
||||
# - id: dotenv
|
||||
# uses: falti/dotenv-action@v1.0.4
|
||||
# with:
|
||||
|
@ -63,9 +64,12 @@ jobs:
|
|||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Install tools
|
||||
run: sudo apt-get install -y cargo && cargo install just && echo "/github/home/.cargo/bin" >> $GITHUB_PATH
|
||||
-
|
||||
name: Pre-build prep
|
||||
run: sudo apt-get install -y cargo && cargo install just && export ELIXIR_DOCKER_IMAGE="${ELIXIR_VERSION}-erlang-${ERLANG_VERSION}-alpine-${ALPINE_VERSION}" && echo "/github/home/.cargo/bin" >> $GITHUB_PATH && just rel-prepare
|
||||
run: just rel-prepare
|
||||
-
|
||||
name: Build and push
|
||||
id: docker_build
|
||||
|
@ -82,6 +86,8 @@ jobs:
|
|||
bonfirenetworks/${{ env.DOCKER_REPO }}:${{steps.version.outputs.current-version}}-${{ env.FLAVOUR }}${{ matrix.tag_extra }}
|
||||
ghcr.io/bonfire-networks/bonfire-app:latest-${{ env.FLAVOUR }}${{ matrix.tag_extra }}
|
||||
ghcr.io/bonfire-networks/bonfire-app:${{steps.version.outputs.current-version}}-${{ env.FLAVOUR }}${{ matrix.tag_extra }}
|
||||
build-args: |
|
||||
"ALPINE_VERSION=${{ env.ALPINE_VERSION }}"
|
||||
-
|
||||
name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
|
||||
|
||||
# The following are build arguments used to change variable parts of the image, they should be set as env variables.
|
||||
# The name of your application/release (required)
|
||||
# The version of the application we are building (required)
|
||||
ARG ALPINE_VERSION
|
||||
|
||||
#### STEP 1 - Build our app
|
||||
FROM hexpm/elixir:${ELIXIR_DOCKER_IMAGE} as builder
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -88,7 +88,7 @@ defmodule Bonfire.Umbrella.MixProject do
|
|||
@default_flavour "classic"
|
||||
@config [
|
||||
# note that the flavour will automatically be added where the dash appears
|
||||
version: "0.9.5-beta.20",
|
||||
version: "0.9.5-beta.22",
|
||||
elixir: "~> #{System.get_env("ELIXIR_VERSION", "1.14")}",
|
||||
default_flavour: @default_flavour,
|
||||
logo: "assets/static/images/bonfire-icon.png",
|
||||
|
|
Loading…
Reference in a new issue