From 882955485a8f50e1ed904e4a0a8d4f0831c23337 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:15:14 +0200 Subject: [PATCH 01/28] dfgd --- .gitea/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9166e2c..07ae95e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -83,3 +83,5 @@ jobs: Job: ${{ github.action }} Status: ${{ job.status }} Source: ${{ github.head_ref }} + + # sdfgsd -- 2.43.0 From 0037ebcd681b269ec7f4c5e70a669b16f09a7f71 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:16:40 +0200 Subject: [PATCH 02/28] ff --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 07ae95e..2603c9c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -84,4 +84,4 @@ jobs: Status: ${{ job.status }} Source: ${{ github.head_ref }} - # sdfgsd + # sdfgsdsdfsd -- 2.43.0 From b8db3663299a1698feaee45883909e779307af4a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:19:48 +0200 Subject: [PATCH 03/28] ci: test git command --- .gitea/workflows/build.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2603c9c..1cd7120 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -59,7 +59,7 @@ jobs: echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Extract branch name shell: bash - run: echo "REPO_BRANCH=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT + run: echo "REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT id: extract_branch - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v6 @@ -83,5 +83,3 @@ jobs: Job: ${{ github.action }} Status: ${{ job.status }} Source: ${{ github.head_ref }} - - # sdfgsdsdfsd -- 2.43.0 From e8132c6697d2fb697f93470e730990d4c66a169b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:22:38 +0200 Subject: [PATCH 04/28] dfgds --- .gitea/workflows/build.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1cd7120..f037260 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -57,17 +57,13 @@ jobs: id: meta run: | echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - - name: Extract branch name - shell: bash - run: echo "REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT - id: extract_branch - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v6 with: context: . file: ./Dockerfile push: true - tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.extract_branch.outputs.REPO_BRANCH }}" + tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ env.GITHUB_HEAD_REF }}" - name: Send notification uses: dawidd6/action-send-mail@v3 if: failure() -- 2.43.0 From b70cbc87d7e47eec5f2a1f08daff16dc2752bc42 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:26:13 +0200 Subject: [PATCH 05/28] fff --- .gitea/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f037260..2b1fbed 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -57,13 +57,17 @@ jobs: id: meta run: | echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT + - name: Extract branch name + shell: bash + run: echo $GITHUB_HEAD_REF | tr -cd '[:alnum:]' | sed s/^/REPO_BRANCH=/g >> $GITHUB_OUTPUT + id: extract_branch - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v6 with: context: . file: ./Dockerfile push: true - tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ env.GITHUB_HEAD_REF }}" + tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.extract_branch.outputs.REPO_BRANCH }}" - name: Send notification uses: dawidd6/action-send-mail@v3 if: failure() -- 2.43.0 From 1239fcb050dc4ec2bea73de66ecd4d62e9c73cb4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:31:34 +0200 Subject: [PATCH 06/28] ddd --- .gitea/workflows/build.yaml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2b1fbed..a6c374e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,13 +1,15 @@ name: "lint, build and push" +# https://docs.docker.com/build/ci/github-actions/manage-tags-labels/ on: schedule: - - cron: "32 17 * * SUN" + - cron: "0 10 * * *" push: - branches: [ master ] + branches: + - "**" + tags: + - "v*.*.*" pull_request: -# Variables: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables + https://forgejo.org/docs/latest/user/actions/#env-1 - jobs: lint: steps: @@ -46,6 +48,14 @@ jobs: needs: [gitleaks, hadolint] # shellcheck steps: - uses: https://github.com/actions/checkout@v4 + - name: Docker meta + id: meta + uses: docker/metadata-action@v5 + with: + # generate Docker tags based on the following events/attributes + tags: | + type=ref,event=branch + type=ref,event=pr - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub @@ -67,7 +77,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.extract_branch.outputs.REPO_BRANCH }}" + tags: ${{ steps.meta.outputs.tags }} - name: Send notification uses: dawidd6/action-send-mail@v3 if: failure() -- 2.43.0 From d0ef83c8f7c6e2c8ac1a0e135b0905dc63571ced Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:31:59 +0200 Subject: [PATCH 07/28] ff --- .gitea/workflows/build.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a6c374e..7ab850f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,11 +3,6 @@ name: "lint, build and push" on: schedule: - cron: "0 10 * * *" - push: - branches: - - "**" - tags: - - "v*.*.*" pull_request: jobs: -- 2.43.0 From c70b9afedd61f07b0925e00f0db85bddc590bb8e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:32:18 +0200 Subject: [PATCH 08/28] ff --- .gitea/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7ab850f..8ed65e2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,8 +2,9 @@ name: "lint, build and push" # https://docs.docker.com/build/ci/github-actions/manage-tags-labels/ on: schedule: - - cron: "0 10 * * *" - pull_request: + - cron: "32 17 * * SUN" + push: + branches: [ master ] jobs: lint: -- 2.43.0 From 2ee1023caf27daf9e054c8b3012bb8c0be4995b8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:32:39 +0200 Subject: [PATCH 09/28] sdfgd --- .gitea/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8ed65e2..a8f3cb2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -89,3 +89,6 @@ jobs: Job: ${{ github.action }} Status: ${{ job.status }} Source: ${{ github.head_ref }} + + +# todo -- 2.43.0 From 5bea33bdd9adae7f3ea290d9a7ae023c6630a245 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:33:13 +0200 Subject: [PATCH 10/28] dfd --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a8f3cb2..8ec91c0 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,6 +5,7 @@ on: - cron: "32 17 * * SUN" push: branches: [ master ] + pull_request: jobs: lint: -- 2.43.0 From 3d335b2768bca9c1fe637a4abf6c05fc8980ee3c Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:33:49 +0200 Subject: [PATCH 11/28] ff --- .gitea/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8ec91c0..08cb5a7 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -44,7 +44,8 @@ jobs: build: needs: [gitleaks, hadolint] # shellcheck steps: - - uses: https://github.com/actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - name: Docker meta id: meta uses: docker/metadata-action@v5 -- 2.43.0 From 1892312bb95fe0c2609e3800f0eb88469b2d2fd5 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:36:16 +0200 Subject: [PATCH 12/28] gfhdfg --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 08cb5a7..f7df2f4 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -54,7 +54,9 @@ jobs: tags: | type=ref,event=branch type=ref,event=pr - - name: Set up Docker Buildx + images: | + "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}" + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub # uses: docker/login-action@v3 -- 2.43.0 From 8c216105e3de01e7b66ca8c9cc5c683bf385cfbd Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:36:46 +0200 Subject: [PATCH 13/28] dfgdsf --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f7df2f4..69ca045 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -95,4 +95,4 @@ jobs: Source: ${{ github.head_ref }} -# todo +# todosdfs -- 2.43.0 From 99f64520b35a6e3b30f8244f4d7ebc21e3965af3 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:38:30 +0200 Subject: [PATCH 14/28] dsfgd --- .gitea/workflows/build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 69ca045..40a9137 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -40,7 +40,6 @@ jobs: Status: ${{ job.status }} Source: ${{ github.head_ref }} - build: needs: [gitleaks, hadolint] # shellcheck steps: @@ -55,7 +54,7 @@ jobs: type=ref,event=branch type=ref,event=pr images: | - "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}" + registry.mgrote.net/httpd - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0 From 20584c09e6c92607b8acfd914663777c1641e625 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:39:41 +0200 Subject: [PATCH 15/28] sdfgd --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 40a9137..23c9b22 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -95,3 +95,4 @@ jobs: # todosdfs +# dfsgds -- 2.43.0 From f43183e87e1abae7cb183c3bde236f3c66eb0e65 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:40:58 +0200 Subject: [PATCH 16/28] dfgd --- .gitea/workflows/build.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 23c9b22..0f46b2a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -45,6 +45,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Extract repository name + id: meta_name + run: | + echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Docker meta id: meta uses: docker/metadata-action@v5 @@ -54,7 +58,7 @@ jobs: type=ref,event=branch type=ref,event=pr images: | - registry.mgrote.net/httpd + "registry.mgrote.net/${{ steps.meta_name.outputs.REPO_NAME }}" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub @@ -62,10 +66,6 @@ jobs: # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Extract repository name - id: meta - run: | - echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Extract branch name shell: bash run: echo $GITHUB_HEAD_REF | tr -cd '[:alnum:]' | sed s/^/REPO_BRANCH=/g >> $GITHUB_OUTPUT @@ -95,4 +95,3 @@ jobs: # todosdfs -# dfsgds -- 2.43.0 From d8538b99983c9732c64200b1b378fb4f2b460e48 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:42:41 +0200 Subject: [PATCH 17/28] dsfgds --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0f46b2a..6c4ca2d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -46,7 +46,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Extract repository name - id: meta_name + id: metaname run: | echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Docker meta @@ -58,7 +58,7 @@ jobs: type=ref,event=branch type=ref,event=pr images: | - "registry.mgrote.net/${{ steps.meta_name.outputs.REPO_NAME }}" + "registry.mgrote.net/${{ steps.metaname.outputs.REPO_NAME }}" - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0 From fa3a7513d0c64c02cdf1225be1fd8ec0c62329b1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:43:36 +0200 Subject: [PATCH 18/28] dfgd --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6c4ca2d..504d053 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -58,7 +58,7 @@ jobs: type=ref,event=branch type=ref,event=pr images: | - "registry.mgrote.net/${{ steps.metaname.outputs.REPO_NAME }}" + registry.mgrote.net/${{ steps.metaname.outputs.REPO_NAME }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0 From 8ca67a64ccd744cc49700e91f3a04e50abf9ff70 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:43:51 +0200 Subject: [PATCH 19/28] dfgd --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 504d053..f89744e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -58,7 +58,7 @@ jobs: type=ref,event=branch type=ref,event=pr images: | - registry.mgrote.net/${{ steps.metaname.outputs.REPO_NAME }} + registry.mgrote.net/httpd - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0 From 4e30ae8a6c4f684d54f3a89d680678fd386a2378 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:44:19 +0200 Subject: [PATCH 20/28] fg --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f89744e..6863340 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,7 +4,7 @@ on: schedule: - cron: "32 17 * * SUN" push: - branches: [ master ] +# branches: [ master ] pull_request: jobs: -- 2.43.0 From b2aea98a523bd834ef64f8eff50148ec776aad17 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:45:43 +0200 Subject: [PATCH 21/28] dfg --- .gitea/workflows/build.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6863340..dcfd964 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,7 +4,7 @@ on: schedule: - cron: "32 17 * * SUN" push: -# branches: [ master ] + branches: [ master ] pull_request: jobs: @@ -45,10 +45,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Extract repository name - id: metaname - run: | - echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Docker meta id: meta uses: docker/metadata-action@v5 -- 2.43.0 From 0ce719c00312a804e83acfe75f5b037d68197070 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:46:18 +0200 Subject: [PATCH 22/28] dfgdsfgd --- .gitea/workflows/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index dcfd964..8b401df 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -62,10 +62,6 @@ jobs: # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Extract branch name - shell: bash - run: echo $GITHUB_HEAD_REF | tr -cd '[:alnum:]' | sed s/^/REPO_BRANCH=/g >> $GITHUB_OUTPUT - id: extract_branch - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v6 with: -- 2.43.0 From cb03d312c94114037628dc5a2e526787da534a7e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:47:13 +0200 Subject: [PATCH 23/28] dsfgds --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8b401df..6d5f091 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -56,7 +56,7 @@ jobs: images: | registry.mgrote.net/httpd - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub # uses: docker/login-action@v3 # with: -- 2.43.0 From 2c47c8d3a5fd5cc325018c045272d05f136015a8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:47:26 +0200 Subject: [PATCH 24/28] dsfgsf --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6d5f091..89645f5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -55,8 +55,8 @@ jobs: type=ref,event=pr images: | registry.mgrote.net/httpd - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub # uses: docker/login-action@v3 # with: -- 2.43.0 From 3ab44ce5a818c06f5f6c20b5b5737969b2af184e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:50:34 +0200 Subject: [PATCH 25/28] sdfgd --- .gitea/workflows/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 89645f5..54994b3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -49,10 +49,6 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - # generate Docker tags based on the following events/attributes - tags: | - type=ref,event=branch - type=ref,event=pr images: | registry.mgrote.net/httpd - name: Set up Docker Buildx -- 2.43.0 From f4b00091aa619637ce54421de191cc9ecc0cfa27 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:50:39 +0200 Subject: [PATCH 26/28] sdfgd --- .gitea/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 54994b3..5df869b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -49,6 +49,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: + # TODO images: | registry.mgrote.net/httpd - name: Set up Docker Buildx -- 2.43.0 From 0b7d40de981f5a8d95a91ac8db755d1eb817e597 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:51:50 +0200 Subject: [PATCH 27/28] sdfgds --- .gitea/workflows/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5df869b..5525852 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -48,10 +48,6 @@ jobs: - name: Docker meta id: meta uses: docker/metadata-action@v5 - with: - # TODO - images: | - registry.mgrote.net/httpd - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0 From 8f465422d57639ae747a52a4167b98b3febfe707 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 13 Oct 2024 19:53:24 +0200 Subject: [PATCH 28/28] dsfgsedfg --- .gitea/workflows/build.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5525852..4f0bc94 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -45,9 +45,16 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Extract repository name + id: name + run: | + echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - name: Docker meta id: meta uses: docker/metadata-action@v5 + with: + images: | + registry.mgrote.net/${{ steps.name.outputs.REPO_NAME }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 # - name: Login to Docker Hub -- 2.43.0