mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

at postgen 53 lines 1.6 kB view raw
1name: build-and-push-ogcard-aws 2on: 3 workflow_dispatch: 4 5env: 6 REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }} 7 USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }} 8 PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }} 9 IMAGE_NAME: bskyogcard 10 11jobs: 12 ogcard-container-aws: 13 if: github.repository == 'bluesky-social/social-app' 14 runs-on: ubuntu-latest 15 permissions: 16 contents: read 17 packages: write 18 id-token: write 19 20 steps: 21 - name: Checkout repository 22 uses: actions/checkout@v3 23 24 - name: Setup Docker buildx 25 uses: docker/setup-buildx-action@v1 26 27 - name: Log into registry ${{ env.REGISTRY }} 28 uses: docker/login-action@v2 29 with: 30 registry: ${{ env.REGISTRY }} 31 username: ${{ env.USERNAME}} 32 password: ${{ env.PASSWORD }} 33 34 - name: Extract Docker metadata 35 id: meta 36 uses: docker/metadata-action@v4 37 with: 38 images: | 39 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} 40 tags: | 41 type=sha,enable=true,priority=100,prefix=,suffix=,format=long 42 43 - name: Build and push Docker image 44 id: build-and-push 45 uses: docker/build-push-action@v4 46 with: 47 context: . 48 push: ${{ github.event_name != 'pull_request' }} 49 file: ./Dockerfile.bskyogcard 50 tags: ${{ steps.meta.outputs.tags }} 51 labels: ${{ steps.meta.outputs.labels }} 52 cache-from: type=gha 53 cache-to: type=gha,mode=max