From d7388668e4dde0e3b985517197e00fa983bb9380 Mon Sep 17 00:00:00 2001 From: Julian Nonino Date: Wed, 10 Dec 2025 15:17:06 +0000 Subject: [PATCH 1/5] Update IMAGE_NAME to use repository name --- .github/workflows/publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b0386f8..4fe1747 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,8 @@ on: types: [published] env: - IMAGE_NAME: ${{ github.repository }} + #IMAGE_NAME: ${{ github.repository }} + IMAGE_NAME: ${{ github.event.repository.name }} jobs: push_to_registry: @@ -16,6 +17,12 @@ jobs: packages: write steps: + - name: Dump GitHub context + run: echo "$GITHUB_CONTEXT" + shell: bash + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + - name: Checkout repository uses: actions/checkout@v6 From 608fbfbc9f65c4040a485caa83b62fcca5747412 Mon Sep 17 00:00:00 2001 From: Julian Nonino Date: Wed, 10 Dec 2025 15:18:24 +0000 Subject: [PATCH 2/5] Modify CI workflow to improve context handling Updated IMAGE_NAME to use repository name and added step to dump GitHub context. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb7688e..5abf252 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,18 @@ on: branches: [ main ] env: - IMAGE_NAME: ${{ github.repository }} + IMAGE_NAME: ${{ github.event.repository.name }} jobs: build: name: Build Docker image runs-on: ubuntu-latest steps: + - name: Dump GitHub context + run: echo "$GITHUB_CONTEXT" + shell: bash + env: + GITHUB_CONTEXT: ${{ toJson(github) }} - name: Checkout repository uses: actions/checkout@v6 - name: Process metadata (tags, labels) From d7c5c0c074f7d80de94a57fdfa1a1010d7df6654 Mon Sep 17 00:00:00 2001 From: Julian Nonino Date: Wed, 10 Dec 2025 15:20:19 +0000 Subject: [PATCH 3/5] Refactor publish.yml by cleaning up environment vars Removed commented IMAGE_NAME and GitHub context dump steps. --- .github/workflows/publish.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4fe1747..914c4d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,6 @@ on: types: [published] env: - #IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.event.repository.name }} jobs: @@ -16,13 +15,7 @@ jobs: contents: read packages: write - steps: - - name: Dump GitHub context - run: echo "$GITHUB_CONTEXT" - shell: bash - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - + steps: - name: Checkout repository uses: actions/checkout@v6 From 9131cd2e858977089a01c3e5c37d8a010035794b Mon Sep 17 00:00:00 2001 From: Julian Nonino Date: Wed, 10 Dec 2025 15:20:51 +0000 Subject: [PATCH 4/5] Remove GitHub context dump step from CI workflow Removed step to dump GitHub context in CI workflow. --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5abf252..6f53dde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,6 @@ jobs: name: Build Docker image runs-on: ubuntu-latest steps: - - name: Dump GitHub context - run: echo "$GITHUB_CONTEXT" - shell: bash - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - name: Checkout repository uses: actions/checkout@v6 - name: Process metadata (tags, labels) From 17733dfcba3306289cc8ae239aebcc4a130da91b Mon Sep 17 00:00:00 2001 From: Julian Nonino Date: Wed, 10 Dec 2025 15:21:14 +0000 Subject: [PATCH 5/5] Fix indentation in publish.yml steps section --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 914c4d1..213a1ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: contents: read packages: write - steps: + steps: - name: Checkout repository uses: actions/checkout@v6