From a221836796c079ddfc7c477a8d1d8fea7e6b8412 Mon Sep 17 00:00:00 2001 From: Fabian Peter Hammerle Date: Fri, 3 Jan 2025 22:19:00 +0100 Subject: [PATCH] pipeline: fix container image name for dependabot --- .github/workflows/container-image.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index 4544877..2176fa3 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -17,7 +17,8 @@ jobs: # https://web.archive.org/web/20250103123053/https://docs.docker.com/build/ci/github-actions/manage-tags-labels/ uses: docker/metadata-action@v5 with: - images: ghcr.io/${{ github.actor }}/systemctl-mqtt + # see comment on `push: true` below + images: ghcr.io/${{ github.repository_owner }}/systemctl-mqtt # https://web.archive.org/web/20250103130404/https://github.com/docker/metadata-action?tab=readme-ov-file#tags-input tags: | type=semver,pattern={{version}} @@ -52,6 +53,10 @@ jobs: linux/arm/v6 linux/arm/v7 linux/arm64 + # > Require approval for all external contributors + # > All users that are not a member or owner of this repository will + # > require approval to run workflows. + # https://github.com/fphammerle/systemctl-mqtt/settings/actions push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}