yolks/.github/workflows/nodejs.yml

46 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2021-05-15 21:29:47 +02:00
name: build nodejs
on:
workflow_dispatch:
2021-05-15 21:29:47 +02:00
schedule:
- cron: "0 0 1 * *"
push:
branches:
- master
paths:
2021-05-15 21:29:47 +02:00
- nodejs/*
jobs:
push:
name: "yolks:nodejs_${{ matrix.tag }}"
2024-09-04 17:52:23 +02:00
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
tag:
- 12
- 14
- 15
- 16
2021-11-15 15:27:10 +01:00
- 17
2022-04-24 21:14:19 +02:00
- 18
- 20
steps:
- uses: actions/checkout@v3
# Setup QEMU for ARM64 Build
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
2024-07-15 19:01:47 +02:00
password: ${{ secrets.GP_TOKEN }}
- uses: docker/build-push-action@v4
with:
context: ./nodejs
file: ./nodejs/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
2024-07-15 19:20:14 +02:00
ghcr.io/thundernetworkrad/yolks:nodejs_${{ matrix.tag }}