A social pastebin built on atproto.
6
fork

Configure Feed

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

gh: update build

+6 -29
+6 -29
.github/workflows/build.yml
··· 1 - name: Build and push container image 1 + name: Build and Push 2 2 3 3 on: 4 4 push: 5 - branches: [main] 6 - pull_request: 7 - branches: [main] 8 - 9 - env: 10 - REGISTRY: ghcr.io 11 - IMAGE_NAME: ${{ github.repository }} 5 + branches: [master] 12 6 13 7 jobs: 14 8 build: ··· 18 12 packages: write 19 13 20 14 steps: 21 - - name: Checkout 22 - uses: actions/checkout@v4 23 - 24 - - name: Set up Docker Buildx 25 - uses: docker/setup-buildx-action@v3 15 + - uses: actions/checkout@v4 26 16 27 17 - name: Log in to GitHub Container Registry 28 - if: github.event_name != 'pull_request' 29 18 uses: docker/login-action@v3 30 19 with: 31 - registry: ${{ env.REGISTRY }} 20 + registry: ghcr.io 32 21 username: ${{ github.actor }} 33 22 password: ${{ secrets.GITHUB_TOKEN }} 34 23 35 - - name: Extract metadata 36 - id: meta 37 - uses: docker/metadata-action@v5 38 - with: 39 - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} 40 - tags: | 41 - type=sha 42 - type=raw,value=latest,enable={{is_default_branch}} 43 - 44 24 - name: Build and push 45 25 uses: docker/build-push-action@v6 46 26 with: 47 27 context: . 48 - push: ${{ github.event_name != 'pull_request' }} 49 - tags: ${{ steps.meta.outputs.tags }} 50 - labels: ${{ steps.meta.outputs.labels }} 51 - cache-from: type=gha 52 - cache-to: type=gha,mode=max 28 + push: true 29 + tags: ghcr.io/${{ github.repository }}:latest