Skip to content

chore(Alpine + Erlang): Update to alpine 3.18.2 and erlang 26.0.1 #110

chore(Alpine + Erlang): Update to alpine 3.18.2 and erlang 26.0.1

chore(Alpine + Erlang): Update to alpine 3.18.2 and erlang 26.0.1 #110

Workflow file for this run

name: Build/Publish Image
on:
push:
branches:
- master
paths:
- 'Makefile'
- 'Dockerfile'
- 'VERSION'
- '.github/workflows/ci.yml'
pull_request:
paths:
- 'Makefile'
- 'Dockerfile'
- 'VERSION'
- '.github/workflows/ci.yml'
env:
BUILDX_CACHE_DIR: /tmp/buildx
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [25.0.4, 25.1.2, 26.0.1]
alpine: [3.18.2]
latest: [false]
include:
- otp: 26.0.1
alpine: 3.18.2
latest: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker Layers
uses: actions/cache@v2
id: cache
with:
path: /tmp/buildx
key: buildx-alpine${{ matrix.alpine }}-erlang${{ matrix.otp }}
restore-keys: |
buildx-alpine${{ matrix.alpine }}-erlang
buildx-alpine${{ matrix.alpine }}-
buildx-alpine
- name: Build/Validate Image
env:
VERSION: ${{ matrix.otp }}
ALPINE_VERSION: ${{ matrix.alpine }}
run: make validate
- name: Login
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish Image
if: ${{ github.event_name == 'push' }}
env:
VERSION: ${{ matrix.otp }}
ALPINE_VERSION: ${{ matrix.alpine }}
IS_LATEST: ${{ matrix.latest }}
run: make release