From f2a84fc55eb0af752ff31aca23781b1ba8162221 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 30 Aug 2024 17:43:31 +0200 Subject: [PATCH] dd --- .gitea/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0487f70..ed84616 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,14 +17,16 @@ jobs: # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Get Meta + run: | + echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true - tags: - - registry.mgrote.net/httpd:latest + tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest" # depends on lint