From 1184e545d615199a6060c1fecc623fa3675793b4 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 20 Nov 2023 12:22:19 +0100 Subject: [PATCH] Remove alpine/debian debris left as a regression of https://github.com/pi-hole/docker-base-images/pull/85 Signed-off-by: DL6ER --- .github/actions/merge-and-push/action.yml | 12 ++++-------- .github/workflows/ftl-build.yml | 2 -- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/actions/merge-and-push/action.yml b/.github/actions/merge-and-push/action.yml index fed491f..08ccdbc 100644 --- a/.github/actions/merge-and-push/action.yml +++ b/.github/actions/merge-and-push/action.yml @@ -5,9 +5,6 @@ inputs: imagename: required: true description: The name of the image to push - platform: - required: true - description: The platform to push the image for registry: required: true description: The Registry to push the image to @@ -19,7 +16,6 @@ runs: shell: bash run: | [[ "${{ inputs.imagename }}" ]] || { echo "imagename input is empty" ; exit 1; } - [[ "${{ inputs.platform }}" ]] || { echo "platform input is empty" ; exit 1; } [[ "${{ inputs.registry }}" ]] || { echo "registry input is empty" ; exit 1; } - @@ -37,12 +33,12 @@ runs: # type=ref,event=branch means that a tag is applied when the workflow is triggered by a push to a branch # type=ref,event=tag means that a tag is applied when the workflow is triggered by a push to a tag tags: | - type=schedule,suffix=-${{ inputs.platform }},enable=${{ github.event_name == 'schedule' }} - type=ref,event=branch,suffix=-${{ inputs.platform }},enable=${{ github.event_name != 'schedule' }} - type=ref,event=tag,suffix=-${{ inputs.platform }} + type=schedule,enable=${{ github.event_name == 'schedule' }} + type=ref,event=branch,enable=${{ github.event_name != 'schedule' }} + type=ref,event=tag - name: Create manifest list and push to repository - working-directory: /tmp/digests/${{ inputs.registry }}/${{ inputs.platform }} + working-directory: /tmp/digests/${{ inputs.registry }} # When using composite actions, you have to specify the shell. As you # don’t specify a runner type in composite actions, you need to specify # the shell instead for each action. diff --git a/.github/workflows/ftl-build.yml b/.github/workflows/ftl-build.yml index 1b4f4c2..34d99f7 100644 --- a/.github/workflows/ftl-build.yml +++ b/.github/workflows/ftl-build.yml @@ -170,12 +170,10 @@ jobs: uses: ./.github/actions/merge-and-push with: imagename: ${{ env.DOCKER_REGISTRY_IMAGE }} - platform: alpine registry: dockerhub - name: Collect and push (GitHub Container Registry) uses: ./.github/actions/merge-and-push with: imagename: ${{ env.GITHUB_REGISTRY_IMAGE }} - platform: alpine registry: ghcr