[WIP] music platform user data scraper
teal-fm atproto
31
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #39 from karitham/fix-docker-action

authored by matt.evil.gay and committed by

GitHub b75d8000 ccb72442

+24 -11
+24 -11
.github/workflows/build.yaml
··· 11 11 jobs: 12 12 build-and-deploy: 13 13 permissions: 14 - contents: read 15 - packages: write 16 - 14 + contents: read 15 + packages: write 16 + 17 17 runs-on: ubuntu-latest 18 18 19 19 steps: 20 20 - name: Checkout Repository 21 - uses: actions/checkout@v2 21 + uses: actions/checkout@v4 22 22 23 23 - name: Set up Docker Buildx 24 24 uses: docker/setup-buildx-action@v3 25 25 26 26 - name: Login to GitHub Container Registry 27 - uses: docker/login-action@v1 27 + uses: docker/login-action@v3 28 28 with: 29 29 registry: ghcr.io 30 30 username: ${{ github.actor }} 31 31 password: ${{ secrets.GITHUB_TOKEN }} 32 32 33 - - name: Docker Buildx 34 - run: | 35 - docker buildx build \ 36 - --platform linux/amd64,linux/arm64 \ 37 - --tag ghcr.io/${{ github.repository_owner }}/piper:${GITHUB_REF_NAME#refs/tags/v} \ 38 - --push . 33 + - name: Extract Docker metadata 34 + id: meta 35 + uses: docker/metadata-action@v5 36 + with: 37 + images: ghcr.io/${{ github.repository_owner }}/piper 38 + flavor: | 39 + latest=false 40 + tags: | 41 + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} 42 + type=semver,pattern={{version}} 43 + 44 + - name: Build and Push 45 + uses: docker/build-push-action@v5 46 + with: 47 + context: . 48 + platforms: linux/amd64,linux/arm64 49 + push: true 50 + tags: ${{ steps.meta.outputs.tags }} 51 + labels: ${{ steps.meta.outputs.labels }}