forked from TrueCloudLab/action-env
25 lines
581 B
YAML
25 lines
581 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: build-${{matrix.tag}}
|
|
runs-on: docker
|
|
container: node:22-bullseye
|
|
strategy:
|
|
matrix:
|
|
tag:
|
|
- openjdk-11-maven-3.8.6
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- run: apt update; apt install -y buildah
|
|
- run: make ${{matrix.tag}}
|
|
- run: make ${{matrix.tag}} PUSH=y
|
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
|
env:
|
|
REGISTRY_PASSWORD: ${secrets.REGISTRY_PASSWORD}
|