From e8ac9614321358568fc302e0eab6a770e8e58a57 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Tue, 30 Jul 2024 19:48:20 +0200 Subject: [PATCH] name actions and remove debug --- .forgejo/workflows/image.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/image.yaml b/.forgejo/workflows/image.yaml index 6eb349b..6c5fdf5 100644 --- a/.forgejo/workflows/image.yaml +++ b/.forgejo/workflows/image.yaml @@ -7,23 +7,25 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout project + uses: actions/checkout@v4 - name: Run hugo run: docker run --rm -it -v ${{ github.workspace }}:/src docker.io/hugomods/hugo:latest hugo - - name: debug - run: ls -la public - - uses: docker/metadata-action@v5 + - name: Compute Image Metadata + uses: docker/metadata-action@v5 id: metadata with: images: git.hamburg.ccc.de/${{ github.repository }}/hackertours tags: | type=raw,value=latest,enable={{is_default_branch}} - - uses: docker/login-action@v1 + - name: Log in to Image Registry + uses: docker/login-action@v1 with: registry: git.hamburg.ccc.de username: ${{ github.actor }} password: ${{ secrets.REPO_TOKEN }} - - uses: https://github.com/int128/kaniko-action@v1 + - name: Build image with kaniko + uses: https://github.com/int128/kaniko-action@v1 with: push: true tags: ${{ steps.metadata.outputs.tags }}