From 37b24bed91a5eb2fe6e6db85198db6794c0611a5 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Thu, 6 Mar 2025 22:24:00 +0100 Subject: [PATCH] ci/cd: remove PR docker build action --- .github/workflows/pr-docker-build.yml | 52 --------------------------- 1 file changed, 52 deletions(-) delete mode 100644 .github/workflows/pr-docker-build.yml diff --git a/.github/workflows/pr-docker-build.yml b/.github/workflows/pr-docker-build.yml deleted file mode 100644 index bd4f1d8c..00000000 --- a/.github/workflows/pr-docker-build.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: PR Docker Build - -on: - pull_request: - branches: [main] - types: [opened, synchronize] - paths-ignore: - - "**.md" - - ".github/**" - -jobs: - build-pr: - runs-on: ubuntu-22.04 - permissions: - contents: read - packages: write - pull-requests: write - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v4 - with: - tags: ghcr.io/${{ github.repository }}:pr-${{ github.event.pull_request.number }} - context: . - platforms: linux/amd64, linux/arm64 - push: true - labels: | - org.opencontainers.image.title=Pocket ID - PR #${{ github.event.pull_request.number }} - org.opencontainers.image.description=PR Build for ${{ github.event.pull_request.title }} - org.opencontainers.image.source=${{ github.event.pull_request.html_url }} - - - name: Update PR Description - if: github.event.action == 'opened' - uses: nefrob/pr-description@v1.2.0 - with: - content: "\n\n---\nDocker image for this PR is available at `ghcr.io/${{ github.repository }}:pr-${{ github.event.pull_request.number }}`" - token: ${{ secrets.GITHUB_TOKEN }}