From 1001ef257dc3951bc525e19210459424128dd911 Mon Sep 17 00:00:00 2001 From: Jan Rundshagen Date: Mon, 8 Jul 2024 16:03:42 +0200 Subject: [PATCH] chore(ci): fix releaser --- .github/workflows/dependabot-approve.yaml | 12 ------ .github/workflows/release.yaml | 49 ----------------------- 2 files changed, 61 deletions(-) delete mode 100644 .github/workflows/dependabot-approve.yaml diff --git a/.github/workflows/dependabot-approve.yaml b/.github/workflows/dependabot-approve.yaml deleted file mode 100644 index 46f9d18..0000000 --- a/.github/workflows/dependabot-approve.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Auto approve dependabot PRs - -on: pull_request_target - -jobs: - auto-approve: - runs-on: ubuntu-latest - permissions: - pull-requests: write - if: github.actor == 'dependabot[bot]' - steps: - - uses: hmarr/auto-approve-action@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6c7ed9a..6248248 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -92,30 +92,6 @@ jobs: beatkind/watchtower:i386-$DH_TAG \ beatkind/watchtower:armhf-$DH_TAG \ beatkind/watchtower:arm64v8-$DH_TAG - - name: Annotate manifest for version - run: | - for REPO in '' ghcr.io/ ; do - - docker manifest annotate \ - ${REPO}beatkind/watchtower:$(echo $TAG | sed 's/^v*//') \ - ${REPO}beatkind/watchtower:i386-$(echo $TAG | sed 's/^v*//') \ - --os linux \ - --arch 386 - - docker manifest annotate \ - ${REPO}beatkind/watchtower:$(echo $TAG | sed 's/^v*//') \ - ${REPO}beatkind/watchtower:armhf-$(echo $TAG | sed 's/^v*//') \ - --os linux \ - --arch arm - - docker manifest annotate \ - ${REPO}beatkind/watchtower:$(echo $TAG | sed 's/^v*//') \ - ${REPO}beatkind/watchtower:arm64v8-$(echo $TAG | sed 's/^v*//') \ - --os linux \ - --arch arm64 \ - --variant v8 - - done - name: Create manifest for latest run: | docker manifest create \ @@ -124,30 +100,6 @@ jobs: beatkind/watchtower:i386-latest \ beatkind/watchtower:armhf-latest \ beatkind/watchtower:arm64v8-latest - - name: Annotate manifest for latest - run: | - for REPO in '' ghcr.io/ ; do - - docker manifest annotate \ - ${REPO}beatkind/watchtower:latest \ - ${REPO}beatkind/watchtower:i386-latest \ - --os linux \ - --arch 386 - - docker manifest annotate \ - ${REPO}beatkind/watchtower:latest \ - ${REPO}beatkind/watchtower:armhf-latest \ - --os linux \ - --arch arm - - docker manifest annotate \ - ${REPO}beatkind/watchtower:latest \ - ${REPO}beatkind/watchtower:arm64v8-latest \ - --os linux \ - --arch arm64 \ - --variant v8 - - done - name: Push manifests to Dockerhub env: DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }} @@ -156,7 +108,6 @@ jobs: docker login -u $DOCKER_USER -p $DOCKER_TOKEN && \ docker manifest push beatkind/watchtower:$(echo $TAG | sed 's/^v*//') && \ docker manifest push beatkind/watchtower:latest - renew-docs: name: Refresh pkg.go.dev needs: build