Skip to content

Bump elixir and erlang #76

Bump elixir and erlang

Bump elixir and erlang #76

Workflow file for this run

name: Publish Docker image
on:
push:
# Publish tags as releases.
tags:
- '*'
jobs:
push:
strategy:
matrix:
buildpack_tag:
- "bullseye"
- "buster"
- "stretch"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Build container image
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
build-args: |
buildpack_tag=${{ matrix.buildpack_tag }}
tags: |
docker.pkg.github.com/${{ github.repository }}/nd-elixir-build-image:${{ matrix.buildpack_tag }}-${{ env.RELEASE_VERSION }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}