uncomment matrix versioning
This commit is contained in:
parent
196d0e5474
commit
7ca8709a6c
1 changed files with 44 additions and 44 deletions
88
.github/workflows/build.yaml
vendored
88
.github/workflows/build.yaml
vendored
|
@ -6,57 +6,57 @@ on:
|
||||||
- "master"
|
- "master"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# build:
|
build:
|
||||||
# runs-on: debian
|
runs-on: debian
|
||||||
# container:
|
container:
|
||||||
# image: node:22-bookworm
|
image: node:22-bookworm
|
||||||
|
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# hugo-version:
|
hugo-version:
|
||||||
# [
|
[
|
||||||
# "0.124.1",
|
"0.124.1",
|
||||||
# "0.125.7",
|
"0.125.7",
|
||||||
# "0.126.3",
|
"0.126.3",
|
||||||
# "0.128.2"
|
"0.128.2"
|
||||||
# ]
|
]
|
||||||
# node-version: ["20", "21", "22"]
|
node-version: ["20", "21", "22"]
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: Install deps
|
- name: Install deps
|
||||||
# run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
||||||
|
|
||||||
# - name: Set up QEMU
|
- name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@master
|
uses: docker/setup-qemu-action@master
|
||||||
# with:
|
with:
|
||||||
# platforms: all
|
platforms: all
|
||||||
|
|
||||||
# - name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
# id: buildx
|
id: buildx
|
||||||
# uses: docker/setup-buildx-action@master
|
uses: docker/setup-buildx-action@master
|
||||||
|
|
||||||
# - name: Login to Self-Hosted Registry
|
- name: Login to Self-Hosted Registry
|
||||||
# uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
# with:
|
with:
|
||||||
# registry: codeberg.org
|
registry: codeberg.org
|
||||||
# username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
# password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
# - name: Build and Push Extended Version
|
- name: Build and Push Extended Version
|
||||||
# uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
# with:
|
with:
|
||||||
# builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
# context: ./
|
context: ./
|
||||||
# file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
# platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
# push: true
|
push: true
|
||||||
# build-args: |
|
build-args: |
|
||||||
# HUGO_VERSION=${{ matrix.hugo-version }}
|
HUGO_VERSION=${{ matrix.hugo-version }}
|
||||||
# NODE_VERSION=${{ matrix.node-version }}
|
NODE_VERSION=${{ matrix.node-version }}
|
||||||
# tags: |
|
tags: |
|
||||||
# "codeberg.org/mycosystems/hugo-ci:${{ matrix.hugo-version }}-${{ matrix.node-version }}"
|
"codeberg.org/mycosystems/hugo-ci:${{ matrix.hugo-version }}-${{ matrix.node-version }}"
|
||||||
|
|
||||||
build-latest:
|
build-latest:
|
||||||
runs-on: debian
|
runs-on: debian
|
||||||
|
|
Loading…
Add table
Reference in a new issue