diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cea3b6..8527753 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,8 @@ jobs: with: images: ghcr.io/dmunozv04/isponsorblocktv, dmunozv04/isponsorblocktv tags: | - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} + type=raw,value=latest,priority=900,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} + type=ref,enable=true,priority=600,prefix=pr-,suffix=,event=pr # https://github.com/docker/setup-qemu-action - name: Set up QEMU @@ -46,14 +47,12 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to DockerHub - if: github.event_name != 'pull_request' uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GHCR - if: github.event_name != 'pull_request' uses: docker/login-action@v1 with: registry: ghcr.io @@ -64,8 +63,8 @@ jobs: uses: docker/build-push-action@v2 with: context: . - platforms: linux/amd64, linux/arm64, linux/arm/v7 - push: ${{ github.event_name != 'pull_request' }} + platforms: linux/amd64, linux/arm64 + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=registry,ref=ghcr.io/dmunozv04/isponsorblocktv:buildcache diff --git a/README.md b/README.md index c346742..7f2fde3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This project is written in asycronous python and should be pretty quick. # Installation Check the [wiki](https://github.com/dmunozv04/iSponsorBlockTV/wiki/Installation) - +Warning: armv7 builds have been deprecated # Usage