bump version + finish UV article
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m6s

This commit is contained in:
2024-02-29 23:01:32 +01:00
parent a4e31c49c7
commit a5e23468a3
11 changed files with 78 additions and 44 deletions

View File

@ -1,31 +1,31 @@
name: Build Hugo Docker Image
# name: Build Hugo Docker Image
on:
push:
paths:
- "hugo.Dockerfile"
# on:
# push:
# paths:
# - "hugo.Dockerfile"
jobs:
build docker:
runs-on: linux_amd
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker registry
uses: docker/login-action@v2
with:
registry: git.d3vyce.fr
username: ${{ github.actor }}
password: ${{ secrets.GIT_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./hugo.Dockerfile
platforms: linux/amd64
push: true
tags: git.d3vyce.fr/d3vyce/hugo:latest
# jobs:
# build docker:
# runs-on: linux_amd
# steps:
# - name: checkout code
# uses: actions/checkout@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Login to Docker registry
# uses: docker/login-action@v2
# with:
# registry: git.d3vyce.fr
# username: ${{ github.actor }}
# password: ${{ secrets.GIT_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v4
# with:
# context: .
# file: ./hugo.Dockerfile
# platforms: linux/amd64
# push: true
# tags: git.d3vyce.fr/d3vyce/hugo:latest