This repository was archived by the owner on Nov 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.4 KB
/
ci.yml
File metadata and controls
42 lines (40 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on: push
env:
REGISTRY: ghcr.io
IMAGE: avid-technology/elixir
jobs:
test:
strategy:
matrix:
os:
- windows-latest
from-image-name:
- "avid-technology/erlang"
from-image-tag:
- "24.2-windows-10.0.17763.2114"
elixir:
- version: "1.13.0"
hash: "58ffe87d6eb89435d8605aee04556aa1a1ba25cf2fa7688d0a5da162d7d7c57b47b2f726b365a7aeb18832bf08de3db5d3ec0ed45e13da276438679f29e5e3ac"
- version: "1.12.2"
hash: "38eb2281032b0cb096ef5e61f048c5374d6fb9bf4078ab8f9526a42e16e7c661732a632b55d6072328eedf87a47e6eeb3f0e3f90bba1086239c71350f90c75e5"
otp:
- version: "24.2"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: |
.\build.ps1 `
-from_image_name ${{ matrix.from-image-name }} `
-from_image_tag ${{ matrix.from-image-tag }} `
-elixir_version ${{ matrix.elixir.version }} `
-elixir_hash ${{ matrix.elixir.hash }} `
-otp_version ${{ matrix.otp.version }} `
-repo ${{ env.REGISTRY }}/${{ env.IMAGE }}