From eaf41baf2213bea42e92f7bf79cce4bcb7f6d2e5 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 26 Aug 2024 21:03:38 -0700 Subject: [PATCH] Using docker:dind-stable for hugo build --- .gitea/workflows/hugo-builder.yml | 6 +++++- .gitea/workflows/simple-docker-test.yml | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/hugo-builder.yml b/.gitea/workflows/hugo-builder.yml index d32fda2..9e4a163 100644 --- a/.gitea/workflows/hugo-builder.yml +++ b/.gitea/workflows/hugo-builder.yml @@ -1,10 +1,14 @@ name: Build Hugo Image on: - - push + push: + branches: + - master jobs: build-hugo-image: runs-on: gitea-main + container: + image: docker:stable-dind steps: - run: docker build website/ -t shockrah/hugo diff --git a/.gitea/workflows/simple-docker-test.yml b/.gitea/workflows/simple-docker-test.yml index 88a47e1..ab85c5c 100644 --- a/.gitea/workflows/simple-docker-test.yml +++ b/.gitea/workflows/simple-docker-test.yml @@ -1,6 +1,8 @@ name: Simple Docker Hello World Test on: - - push + push: + branches: + - master jobs: