From 29862bc774cff1471f78c59b24bcbd7aed0cda98 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Tue, 30 Jul 2024 19:23:34 +0200 Subject: [PATCH] run docker directly --- .forgejo/workflows/image.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/image.yaml b/.forgejo/workflows/image.yaml index 734c492..8f876a4 100644 --- a/.forgejo/workflows/image.yaml +++ b/.forgejo/workflows/image.yaml @@ -8,11 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Run the build process with Docker - uses: https://github.com/addnab/docker-run-action@v3 - with: - image: docker.io/hugomods/hugo:latest - options: -v ${{ github.workspace }}:/src + - name: Run hugo + run: docker run -rm --it -v ${{ github.workspace }}:/src docker.io/hugomods/hugo:latest - uses: docker/metadata-action@v5 id: metadata with: