update
This commit is contained in:
parent
0e9cb0f229
commit
e508052717
1 changed files with 33 additions and 0 deletions
33
.github/workflows/build.yaml
vendored
33
.github/workflows/build.yaml
vendored
|
@ -95,3 +95,36 @@ jobs:
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue