WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto

chore: push docker image to atcr instead of ghcr (#33)

* chore: push docker image to atcr instead of ghcr

* chore: adjust secrets and image repo for docker publish workflow

* chore: remove this branch from publish branches, done testing

authored by

Malpercio and committed by
GitHub
987cf811 149037e5

+9 -16
+9 -16
.github/workflows/publish.yml
··· 1 1 name: Build and Publish 2 2 3 3 # Trigger on push to main branch or version tags (v*) 4 - # Runs CI checks first, then builds and publishes to GHCR if checks pass 4 + # Runs CI checks first, then builds and publishes to ATCR if checks pass 5 5 on: 6 6 push: 7 7 branches: ··· 20 20 needs: ci 21 21 runs-on: ubuntu-latest 22 22 23 - # Required permissions for GHCR push 24 - # contents:read - checkout code 25 - # packages:write - push to ghcr.io 26 - permissions: 27 - contents: read 28 - packages: write 29 - 30 23 steps: 31 24 - name: Checkout code 32 25 uses: actions/checkout@v4 ··· 36 29 - name: Set up Docker Buildx 37 30 uses: docker/setup-buildx-action@v3 38 31 39 - # Authenticate to GitHub Container Registry 40 - # Uses built-in GITHUB_TOKEN, no manual secrets needed 41 - - name: Log in to GitHub Container Registry 32 + # Authenticate to AT Container Registry 33 + # Needs secrets configured 34 + - name: Log in to AT Container Registry 42 35 uses: docker/login-action@v3 43 36 with: 44 - registry: ghcr.io 45 - username: ${{ github.actor }} 46 - password: ${{ secrets.GITHUB_TOKEN }} 37 + registry: atcr.io 38 + username: ${{ secrets.TANGLED_HANDLE }} 39 + password: ${{ secrets.APP_PASSWORD }} 47 40 48 41 # Extract metadata for Docker tags and labels 49 42 # Automatically generates appropriate tags based on trigger: ··· 53 46 id: meta 54 47 uses: docker/metadata-action@v5 55 48 with: 56 - images: ghcr.io/${{ github.repository }} 49 + images: atcr.io/malpercio.dev/atbb 57 50 tags: | 58 51 # Tag with branch name (main) 59 52 type=ref,event=branch ··· 66 59 # Tag as latest for default branch (main) 67 60 type=raw,value=latest,enable={{is_default_branch}} 68 61 69 - # Build multi-stage Dockerfile and push to GHCR 62 + # Build multi-stage Dockerfile and push to ATCR 70 63 # Uses GitHub Actions cache for faster builds 71 64 - name: Build and push Docker image 72 65 uses: docker/build-push-action@v5