Skip to content

try different java img #87

try different java img

try different java img #87

Workflow file for this run

name: build apps
on:
push:
branches:
- master
paths:
- apps/**
jobs:
push:
name: "apps:${{ matrix.app.name }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
app:
- {name: "opus", platform: "linux/amd64,linux/arm64"}
- {name: "generic", platform: "linux/amd64,linux/arm64"}
- {name: "generic_prune", platform: "linux/amd64,linux/arm64"}
- {name: "netsdk", platform: "linux/amd64"}
- {name: "jre17", platform: "linux/amd64,linux/arm64"}
steps:
- name: code checkout
uses: actions/checkout@v2
- name: setup QEMU
uses: docker/setup-qemu-action@v1
- name: setup buildx
uses: docker/setup-buildx-action@v1
with:
version: "v0.5.1"
buildkitd-flags: --debug
- name: login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push
uses: docker/build-push-action@v2
with:
context: ./apps/${{ matrix.app.name }}
file: ./apps/${{ matrix.app.name }}/Dockerfile
platforms: ${{ matrix.app.platform }}
push: true
tags: |
ghcr.io/hexiahost/apps:${{ matrix.app.name }}