A lexicon-driven AppView for ATProto. happyview.dev
backfill firehose jetstream atproto appview oauth lexicon
8
fork

Configure Feed

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

ci: restore ATCR builds

Trezy ce54c9fd b27b8835

+20 -1
+20 -1
.github/workflows/docker.yml
··· 6 6 7 7 env: 8 8 GHCR_IMAGE: ghcr.io/${{ github.repository }} 9 + ATCR_IMAGE: atcr.io/${{ secrets.ATCR_NAMESPACE }}/happyview 9 10 10 11 jobs: 11 12 happyview: ··· 38 39 username: ${{ github.actor }} 39 40 password: ${{ secrets.GITHUB_TOKEN }} 40 41 42 + - name: Log in to ATCR 43 + uses: docker/login-action@v3 44 + with: 45 + registry: atcr.io 46 + username: ${{ secrets.ATCR_USERNAME }} 47 + password: ${{ secrets.ATCR_PASSWORD }} 48 + 41 49 - name: Extract metadata (tags, labels) 42 50 id: meta 43 51 uses: docker/metadata-action@v5 44 52 with: 45 53 images: | 46 54 ${{ env.GHCR_IMAGE }} 55 + ${{ env.ATCR_IMAGE }} 47 56 tags: | 48 57 type=semver,pattern={{version}} 49 58 type=semver,pattern={{major}}.{{minor}} ··· 61 70 HAPPYVIEW_VERSION=${{ github.event.release.tag_name }} 62 71 cache-from: type=gha,scope=build-${{ matrix.platform }} 63 72 cache-to: type=gha,scope=build-${{ matrix.platform }},mode=max,ignore-error=true 64 - outputs: type=image,"name=${{ env.GHCR_IMAGE }}",push-by-digest=true,name-canonical=true,push=true 73 + outputs: type=image,"name=${{ env.GHCR_IMAGE }},${{ env.ATCR_IMAGE }}",push-by-digest=true,name-canonical=true,push=true 65 74 66 75 - name: Create GHCR manifest 67 76 run: | ··· 71 80 docker buildx imagetools create $GHCR_TAGS \ 72 81 ${{ env.GHCR_IMAGE }}@${{ steps.build.outputs.digest }} 73 82 83 + - name: Create ATCR manifest 84 + run: | 85 + ATCR_TAGS=$(jq -cr '.tags | map(select(startswith("atcr.io"))) | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") 86 + if [ -n "$ATCR_TAGS" ]; then 87 + docker buildx imagetools create --append $ATCR_TAGS \ 88 + ${{ env.ATCR_IMAGE }}@${{ steps.build.outputs.digest }} 2>/dev/null || \ 89 + docker buildx imagetools create $ATCR_TAGS \ 90 + ${{ env.ATCR_IMAGE }}@${{ steps.build.outputs.digest }} 91 + fi 92 +