remove matrix update hugo
Some checks failed
Build And Publish Docker / build-latest (push) Has been cancelled

This commit is contained in:
brooke 2024-11-06 16:59:21 -05:00
parent e508052717
commit ea799443c7

View file

@ -6,62 +6,6 @@ on:
- "master"
jobs:
build:
runs-on: node-22
strategy:
matrix:
hugo-version:
[
"0.119.0",
"0.120.4",
"0.121.2",
"0.122.0",
"0.123.8",
"0.124.1",
"0.125.7",
"0.126.3",
"0.127.0",
"0.128.2",
"0.129.0"
]
node-version:
[
# "20.9.0",
"21.7.3",
"22.5.0"
]
steps:
- uses: actions/checkout@v3
- name: Install deps
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Login to Self-Hosted Registry
uses: docker/login-action@v2
with:
registry: codeberg.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Build and Push Extended Version
uses: docker/build-push-action@v4
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./
file: ./Dockerfile
platforms: linux/amd64
push: true
build-args: |
HUGO_VERSION=${{ matrix.hugo-version }}
NODE_VERSION=${{ matrix.node-version }}
tags: |
"codeberg.org/mycosystems/hugo-ci:${{ matrix.hugo-version }}-${{ matrix.node-version }}"
build-latest:
runs-on: node-22
@ -91,40 +35,7 @@ jobs:
platforms: linux/amd64
push: true
build-args: |
HUGO_VERSION=0.129.0
HUGO_VERSION=0.138.0
NODE_VERSION=22.5.0
tags: |
git.myco.systems/mycosystems/hugo-ci:latest
build-latest-codeberg:
runs-on: node-22
steps:
- uses: actions/checkout@v3
- name: Install deps
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Login to Self-Hosted Registry
uses: docker/login-action@v2
with:
registry: codeberg.org
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Build and Push Extended Version
uses: docker/build-push-action@v4
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./
file: ./Dockerfile
platforms: linux/amd64
push: true
build-args: |
HUGO_VERSION=0.129.0
NODE_VERSION=22.5.0
tags: |
codeberg.org/mycosystems/hugo-ci:latest