Skip to content

Add support for ubuntu 22.04 #17

Add support for ubuntu 22.04

Add support for ubuntu 22.04 #17

name: Publish elixir-ubuntu
on:
push:
branches: [ elixir-ubuntu ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
docker-image:
- elixir-ubuntu-22-04
#- elixir-ubuntu-16-04
#- elixir-ubuntu-18-04
#- elixir-ubuntu-20-04
steps:
- uses: actions/checkout@v2
- name: Log in to GitHub Container Registry
env:
GHCR_PERSONAL_TOKEN: ${{ secrets.GHCR_PERSONAL_TOKEN }}
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
run: |
echo $GHCR_PERSONAL_TOKEN | docker login ghcr.io -u $GHCR_USERNAME --password-stdin
- name: build ${{ matrix.docker-image }}
run: make build
working-directory: ${{ matrix.docker-image }}
- name: push ${{ matrix.docker-image }}
run: make push
working-directory: ${{ matrix.docker-image }}