Packages

Arke project generator. Provides a `mix arke.new` task to bootstrap a new Elixir application with Arke dependencies.

Current section

Files

Jump to
arke_new templates arke_single github workflows build-push-docker.yml
Raw

templates/arke_single/github/workflows/build-push-docker.yml

name: Build arke starter PROD
on:
workflow_dispatch:
release:
types: [ published ]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Build & push Docker image 🐳
uses: mr-smithers-excellent/docker-build-push@v5
with:
image: <%= String.downcase(@app_module) %>
tags: ${{ github.event.release.tag_name }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
buildArgs: MIX_ENV=prod
env:
MIX_ENV: prod