web-ci/.github/workflows/build.yaml
brooke 55125b8677
Some checks failed
Build And Publish Docker / build-latest (push) Failing after 2m20s
run on node lts container image
2024-11-06 17:02:40 -05:00

42 lines
1.1 KiB
YAML

name: Build And Publish Docker
on:
push:
branches:
- "master"
jobs:
build-latest:
container:
image: node:lts-bookworm
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: git.myco.systems
username: ${{ secrets.MYCO_REGISTRY_USER }}
password: ${{ secrets.MYCO_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.138.0
NODE_VERSION=22.5.0
tags: |
git.myco.systems/mycosystems/hugo-ci:latest