Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4114 commits
Select commit Hold shift + click to select a range
d27ff97
small tweaks
bnewbold Oct 28, 2025
a4ae533
progress on lexgen refactor
bnewbold Oct 29, 2025
2d6b354
update 'make lexgen' to use new tool
bnewbold Oct 29, 2025
05a8526
move more lexgen implementation code to pkg
bnewbold Oct 29, 2025
5da1e20
tidy lexgen main cmd
bnewbold Oct 29, 2025
6d1e7c9
lexgen: another legaxy special case
bnewbold Nov 12, 2025
63b5043
lexgen: add more docs and comments
bnewbold Nov 12, 2025
5b368e3
lexgen refactor (#1181)
bnewbold Nov 12, 2025
d44a17e
Revert "lexgen refactor (#1181)"
bnewbold Nov 12, 2025
bc4a241
Revert "lexgen refactor (#1181)" (#1191)
bnewbold Nov 12, 2025
df877a2
fix unlocking order
dholms Nov 12, 2025
419b20d
Make repo fetch timeout configurable
aliceisjustplaying Nov 12, 2025
cc05bb1
move json marshalling to outbox
dholms Nov 12, 2025
e36aef2
refactor event cache loading
dholms Nov 13, 2025
c6a8672
Add missing Dockerfile labels to sonar and supercollider
ThisIsMissEm Nov 13, 2025
01cc80a
Amend Dockerfile labels for licenses to correctly indicate dual licen…
ThisIsMissEm Nov 13, 2025
aff35d5
fix magic numbers in outbox
dholms Nov 13, 2025
1cb33f0
add outbox parallelism cfg & clean up config
dholms Nov 13, 2025
d1fbaab
Make repo fetch timeout configurable in `sync-tool` (#1192)
dholms Nov 13, 2025
01fab51
fix linting error in main
dholms Nov 13, 2025
e4f3d77
identity cache size config
dholms Nov 13, 2025
59191ef
autotrack repos that have a signal collection evt come through
dholms Nov 13, 2025
43d0a58
add type to ws response msgs
dholms Nov 13, 2025
ac7a21f
tidy
dholms Nov 13, 2025
a3d67f4
fix lint
dholms Nov 13, 2025
376f165
add note to readme
dholms Nov 13, 2025
a0fdbc4
add to build list
dholms Nov 14, 2025
187ef3c
new lexgen implementation
bnewbold Nov 14, 2025
2119454
lexicon tests: avoid reserved keywords
bnewbold Oct 15, 2025
c10ddb5
new lexgen package (#1195)
bnewbold Nov 14, 2025
a0c41f6
fix deafult time
dholms Nov 14, 2025
0a7159b
fix outbox cfg
dholms Nov 14, 2025
d91e35b
lexicon: don't try to validate tokens in data
bnewbold Nov 16, 2025
3194bb1
lexicon: clearer file naming
bnewbold Nov 16, 2025
e11a312
lexicon: more type field checks
bnewbold Nov 16, 2025
4fb326e
more complete checks for schema types in different places
bnewbold Nov 16, 2025
1ccd905
check that record key type is defined
bnewbold Nov 16, 2025
6010c9a
check for closed empty union
bnewbold Nov 16, 2025
da8b1e6
ensure that subscription message schema is a union structurally
bnewbold Nov 16, 2025
55afb7c
improve test coverage
bnewbold Nov 16, 2025
8061420
fix lexgen for SchemaMessage change
bnewbold Nov 16, 2025
163e54b
lexicon: don't allow 'unknown' in params
bnewbold Nov 17, 2025
05d91c9
fix test cases and error msg for no-unknown-params
bnewbold Nov 18, 2025
46dcaa7
Update cmd/sonar/Dockerfile
ThisIsMissEm Nov 18, 2025
236a66b
Update cmd/supercollider/Dockerfile
ThisIsMissEm Nov 18, 2025
840456b
Update cmd/sonar/Dockerfile
ThisIsMissEm Nov 18, 2025
da25265
outbox: only set lastId if no error
dholms Nov 19, 2025
811f5f6
start event enumeration from first ID in db rather than 0
dholms Nov 20, 2025
3444304
switch between parallel/serial event loading in event cache based on …
dholms Nov 20, 2025
559660d
actually send events in loadEventsSerial
dholms Nov 20, 2025
f72d15c
grabbing some tweaks from whys branch
dholms Nov 20, 2025
6e303da
remove duplciate sleep
dholms Nov 20, 2025
c35caae
fix: store rev on resync record evts
dholms Nov 21, 2025
0c26d03
batch deletes from cache
dholms Nov 21, 2025
f237600
max cache size
dholms Nov 21, 2025
0e0747b
update ordering comment
dholms Nov 21, 2025
08d63a9
putting together new event manager
dholms Nov 22, 2025
750304d
namign
dholms Nov 22, 2025
360455b
switching out event processor impl
dholms Nov 22, 2025
df1e786
better error for account/identity resources; and more test coverage
bnewbold Nov 24, 2025
b0e22f4
have mimetype tester handle */*
bnewbold Nov 24, 2025
94c4cd9
add description to permission-set; disallow repo col wildcard in perm…
bnewbold Nov 24, 2025
f4e1f04
lexicon SDK: stricter schema parsing (#1197)
bnewbold Nov 24, 2025
1382241
remove breaking resolveLexicon (for now)
bnewbold Nov 21, 2025
8d9e91d
sync lexicons from atproto repo
bnewbold Nov 21, 2025
c922969
run lexgen to remove deprecated prioritizeFollowedUsers
bnewbold Nov 21, 2025
2f63429
run lexgen for recent small changes
bnewbold Nov 21, 2025
1c1c3e6
cborgen
bnewbold Nov 24, 2025
b0ca16f
lexgen 2025-11-23 (#1200)
bnewbold Nov 24, 2025
8e15059
Add lexicon defs
estrattonbailey Nov 24, 2025
395acbb
[AAv2] Add lexicon defs (#1201)
estrattonbailey Nov 24, 2025
82edabb
move more over to new event manager
dholms Nov 25, 2025
8e86751
lexicon: remove 'null' def support
bnewbold Nov 25, 2025
3c8d4b7
no 'blob' permissions in permission-set
bnewbold Nov 25, 2025
a0f5587
lexicon: rpc perm aud can't have DID in permission-set
bnewbold Nov 25, 2025
dd2d3ec
minor error message improvements
bnewbold Nov 25, 2025
272ed8f
lexgen updates for SchemaNull removal
bnewbold Nov 25, 2025
7cd8c3e
wip
dholms Nov 25, 2025
dc9cdc3
switch outbox over to using event manager
dholms Nov 25, 2025
35c1e15
atproto/lexicon: more tweaks from spec updates (#1202)
bnewbold Nov 25, 2025
f62a2d1
backpressure on resyncs
dholms Nov 25, 2025
a7f61a4
clean up outbox
dholms Nov 25, 2025
7044dff
bump go to v1.25
bnewbold Nov 25, 2025
d1ff2d1
update dockerfiles for go v1.25 and debian bookworm
bnewbold Nov 25, 2025
6dfa1f9
update CI to go v1.25
bnewbold Nov 25, 2025
9fde12e
repo manager, resync buffer, refactor resyner
dholms Nov 25, 2025
663db30
refactor firehose & nexus instantiation"
dholms Nov 25, 2025
54ec5dc
clean up event mangaer waiting code
dholms Nov 25, 2025
0efcad1
tweak event cache params
dholms Nov 25, 2025
b10b0d6
do better about keeping cache size to rough size
dholms Nov 25, 2025
2ea31c4
refactor resync buffer
dholms Nov 25, 2025
a40ad5e
satisfy list repos with JOIN
dholms Nov 25, 2025
092e55b
Satisfy sync.listRepos with JOIN (#1204)
dholms Nov 26, 2025
c947503
nexus -> tap
dholms Nov 26, 2025
0ea78ea
lexgen: decrease logging verbosity
bnewbold Nov 27, 2025
c54c04a
lexgen: decrease logging verbosity (#1206)
bnewbold Nov 27, 2025
6f26587
update go to v1.25 (#1203)
bnewbold Nov 27, 2025
83166b6
add lexlint package
bnewbold Nov 30, 2025
393d8bd
add lexlint package (#1208)
bnewbold Nov 30, 2025
279e71b
relay: migrate from xrpc pkg to atclient
bnewbold Dec 1, 2025
258ba19
update lexicon resolution to use atclient pkg
bnewbold Dec 1, 2025
67777cb
update lexicon resolution to use atclient pkg (#1209)
bnewbold Dec 1, 2025
f6187bd
admin token
dholms Dec 1, 2025
726c851
relay: Fix initial sequence number being lost on restart after initia…
bnewbold Dec 1, 2025
1f36617
collectiondir: use base64url encoding for cursor param
bnewbold Dec 1, 2025
8411bc3
relay: log unexpected message type
bnewbold Dec 1, 2025
3895436
add did resolution endpoint
dholms Dec 1, 2025
a981730
relay: expose current seq as metrics guage
bnewbold Dec 1, 2025
069ced7
relay: log unexpected message type (#1212)
bnewbold Dec 1, 2025
83760aa
relay: migrate from xrpc pkg to atclient (#1210)
bnewbold Dec 1, 2025
b8d2a78
relay: expose current seq as metrics guage (#1213)
bnewbold Dec 1, 2025
862c33a
relay: enforce initial seq as a minimum
bnewbold Dec 1, 2025
24712c8
stats
dholms Dec 2, 2025
0ab4e67
update HostChecker to use models.AccountStatus types
bnewbold Dec 2, 2025
7ec550e
relay: simplify identity evt logic
bnewbold Dec 2, 2025
a7bc4bf
have EnsureAccountHost try identity update on failure
bnewbold Dec 2, 2025
4e1dbff
add EnsureAccountStatus, which re-checks upstream account status if n…
bnewbold Dec 2, 2025
c421993
clarifying comment
bnewbold Dec 2, 2025
81f317e
Add missing container image labels + fix licenses label (#1193)
bnewbold Dec 2, 2025
601ba7a
filter handle in identity events
bnewbold Dec 2, 2025
79c4fe3
clarify initialSeq behavior in docs/comments
bnewbold Dec 2, 2025
b97b3a0
also check handle against DID document
bnewbold Dec 3, 2025
4dfa334
flexibly parse old non-base64url cursors
bnewbold Dec 3, 2025
074faee
collectiondir: use base64url encoding for cursor param (#1211)
bnewbold Dec 3, 2025
7c4764e
relay: iterate on verification of account host and status (#1215)
bnewbold Dec 3, 2025
bdbb48c
relay: enforce initial seq as a minimum (#1214)
bnewbold Dec 3, 2025
ad6fa93
syntax: switch AtIdentifier to be string like all other types
bnewbold Dec 3, 2025
66bd1a1
code updates for string-like AtIdentifier
bnewbold Dec 3, 2025
e5c1a71
use admin token on webhook client
dholms Dec 3, 2025
5347a51
add repo info route
dholms Dec 3, 2025
80679e7
dockerfile & action
dholms Dec 4, 2025
bbaac8b
Merge branch 'main' into sync-tool
dholms Dec 4, 2025
876f495
upgrade cli & versioninfo libs
dholms Dec 4, 2025
2411b6f
lexicon: subscription msg is required
bnewbold Dec 4, 2025
e389ec0
implement lex tweak
bnewbold Dec 4, 2025
ed3f45b
readme cleanup
dholms Dec 4, 2025
43240f4
pr feedback
dholms Dec 4, 2025
74c6785
add back in verifyStructure to sync lib
dholms Dec 4, 2025
09f9c43
run crawler on a loop
dholms Dec 4, 2025
051dbaa
fix crawler run call
dholms Dec 4, 2025
a098f7c
rm jaeger & add prometheus metrics
dholms Dec 5, 2025
8f5b35a
admin token -> api token
dholms Dec 5, 2025
5439a5e
logging middleware
dholms Dec 5, 2025
89daccf
syntax: datetime syntax examples from interop tests
bnewbold Dec 5, 2025
f664195
syntax: check for negative datetimes
bnewbold Dec 5, 2025
90a6a82
lexicon: validate schema NSID in CheckSchema
bnewbold Dec 5, 2025
5eacd64
update interop test vectors
bnewbold Dec 5, 2025
b9bef8f
mst: interop tests for example key height
bnewbold Dec 5, 2025
35aafd7
remove unused log
dholms Dec 5, 2025
0a9dca7
update MST interop tests fixtures with correct key heights
bnewbold Dec 5, 2025
06c1051
lexgen getRelationships
rafaeleyng Dec 5, 2025
5d7cf9b
lexgen getRelationships (#1224)
rafaeleyng Dec 5, 2025
a48accd
mst: interop tests for example key height (#1222)
bnewbold Dec 5, 2025
57de2fe
lexicon: validate schema NSID (#1221)
bnewbold Dec 6, 2025
d49b454
syntax: clarify behaviors around year zero (#1220)
bnewbold Dec 6, 2025
4dfbf9b
rm otel
dholms Dec 8, 2025
5f0a3ed
readme & config revamp
dholms Dec 8, 2025
fc68bec
use xsync.Map
dholms Dec 9, 2025
214bd89
atomic.bool
dholms Dec 9, 2025
a98e2ab
repo fetch timeout tweak
dholms Dec 9, 2025
b79deaf
locking in event manager
dholms Dec 9, 2025
1f757b5
propagate context in gorm calls
dholms Dec 9, 2025
c2ab017
fix lint errs
dholms Dec 9, 2025
ce7d73f
tidy go.mod
dholms Dec 9, 2025
978b743
fix docker build - update go verison
dholms Dec 9, 2025
3b6d7f3
contact import lexicons
rafaeleyng Dec 9, 2025
e1034c6
contact import lexicons (#1225)
rafaeleyng Dec 9, 2025
ecb295b
fix env reading
dholms Dec 9, 2025
0d3d770
api token -> admin password
dholms Dec 9, 2025
df190ac
user evt -> identity evt
dholms Dec 9, 2025
4de2d7c
only create on add repos, dont overwrite
dholms Dec 11, 2025
a791552
fmt
dholms Dec 11, 2025
84966f8
tag Docker based on git tags
dholms Dec 11, 2025
87579b3
retry timeout config
dholms Dec 11, 2025
b7e345d
fix docker build again
dholms Dec 11, 2025
66c668a
put the actual running behind `run` in the clid
dholms Dec 12, 2025
dd5737a
change mount volume to /data
dholms Dec 12, 2025
dac158b
railway deploy guide
dholms Dec 12, 2025
9f652e7
one more link
dholms Dec 12, 2025
2f6a9ae
Tap (sync tool) (#1170)
dholms Dec 12, 2025
26037d6
Add tap to README
gaearon Dec 12, 2025
6b8ad3e
Add tap to README (#1226)
dholms Dec 12, 2025
a288a60
update interop commit fixtures with correct CID type
bnewbold Dec 16, 2025
6d9675a
update 'raw' CIDs to 'dag-cbor' CIDs
bnewbold Dec 16, 2025
f92cb29
repo: updated MST structural tests (#1223)
bnewbold Dec 16, 2025
d028de9
cmd/tap: Fix typo in README
damz Dec 16, 2025
104ff32
oauth docs: replace transitional OAuth scope
bnewbold Dec 16, 2025
11dd65f
cmd/tap: Fix typo in README: TAP_FULL_NETWORK_MODE > TAP_FULL_NETWORK…
bnewbold Dec 17, 2025
498ecb9
cmd/tap: add `plc-url` flag to `tap`
boltlessengineer Dec 17, 2025
d83c6a1
oauth docs: replace transitional OAuth scope (#1232)
bnewbold Dec 18, 2025
2f32e27
update README
bnewbold Dec 18, 2025
dbd4bbf
update README (#1235)
bnewbold Dec 18, 2025
2b94367
lexicon: subscription message field is required (#1219)
bnewbold Dec 18, 2025
034a2c0
Tap: allow custom plc directory (#1234)
dholms Dec 18, 2025
d14d1b4
relay: hint PG for perf on listRepos
bnewbold Dec 18, 2025
488b12f
Catch Panics in EventManager.broadcastEvent
jcalabro Dec 21, 2025
3bb016d
Catch Panics in EventManager.broadcastEvent (#1240)
jcalabro Dec 21, 2025
1204af2
add user-agent to all tap requests
dholms Dec 22, 2025
d2ef16f
verify signature on resync
dholms Dec 22, 2025
9583ad3
Add user-agent to all tap requests (#1245)
dholms Dec 22, 2025
c09536a
respect backoff in resyncer
dholms Dec 23, 2025
e112ecc
Tap: respect backoff in resyncer (#1247)
dholms Dec 23, 2025
3602a84
Tap: verify signature on resync (#1246)
dholms Dec 23, 2025
ee8e8b0
retry errored repos
dholms Dec 23, 2025
598fbf0
Tap: retry errored repos (#1248)
dholms Dec 23, 2025
8bfb929
identity: respect HTTPS_PROXY env var for resolutions
bnewbold Dec 24, 2025
595e395
respect HTTPS_PROXY for services
bnewbold Dec 24, 2025
8dd0ee5
typo in indigo/cmd/sonar/README.md
oddgarden6465 Dec 25, 2025
b8d99f6
tap: restore nextID counter on restart to prevent unique constraint e…
heathdutton Dec 30, 2025
78a1c18
typo in indigo/cmd/sonar/README.md (#1251)
bnewbold Jan 3, 2026
2c00289
Adds `recId` to `getSuggestUsers`
cuducos Jan 6, 2026
0a50b73
Adds `recId` to `getSuggestUsers` (#1263)
cuducos Jan 6, 2026
6fcd931
Tap: restore nextID counter on restart to prevent unique constraint e…
dholms Jan 6, 2026
8e53def
update copyright year to 2026
rootdiae Jan 13, 2026
0f105f2
Revert "Adds `recId` to `getSuggestUsers`"
cuducos Jan 14, 2026
07f6c65
Add drafts lexicon
rafaeleyng Jan 13, 2026
207c9d4
Drafts lexicon (#1270)
rafaeleyng Jan 14, 2026
9aa1c50
Add tap executable to .gitignore
johnspurlock-skymethod Jan 15, 2026
93bbf7e
Revert "Adds `recId` to `getSuggestUsers`" (#1271)
cuducos Jan 19, 2026
2deb8c9
pds: remove duplicated import
davecheney Jan 19, 2026
06570fa
update copyright year to 2026 (#1269)
bnewbold Jan 20, 2026
d83ff36
pds: remove duplicated import (#1273)
bnewbold Jan 20, 2026
53976e5
Add tap executable to .gitignore (#1272)
bnewbold Jan 20, 2026
771a12c
have custom `http.Transport` respect HTTPS_PROXY env var (including i…
bnewbold Jan 20, 2026
6818fd2
relay: hint PG for perf on listRepos (#1237)
bnewbold Jan 20, 2026
af0a3e2
Adds `recID` to suggested user response (as string)
cuducos Jan 20, 2026
63f30c3
Adds `recID` to suggested user response (as string) (#1275)
cuducos Jan 20, 2026
12d69fa
`syntax.AtIdentifier` as simple string (#1218)
bnewbold Jan 20, 2026
d03816a
atproto/atclient: password auth refresh should use method post
karitham Jan 22, 2026
7f2e6b4
atproto/atclient: password auth refresh should use method post (#1278)
bnewbold Jan 22, 2026
25ad69a
Tap: fix repo commit metadata tracking
dholms Jan 23, 2026
c3fb615
atclient: allow pw auth to inactive account
bnewbold Jan 26, 2026
1e0f499
atclient: allow pw auth to inactive account (#1281)
bnewbold Jan 26, 2026
11544ec
cmd/tap: use LoadOrCompute when delivering event to worker
davecheney Jan 26, 2026
4524c0f
check prev data when draining the resync buffer
dholms Jan 26, 2026
627e53a
Tap: fix repo commit metadata tracking (#1280)
dholms Jan 26, 2026
eb214e4
add install note to readme
axfelix Jan 26, 2026
26055d1
.golangci.yaml: warn if go.mod/go.sum is dirty
davecheney Jan 26, 2026
9a7ac18
workflows: use go.mod as source of truth for the Go version to use
davecheney Jan 26, 2026
dfb323f
add install note to readme (#1284)
axfelix Jan 26, 2026
5e8fc7a
Tap: fix nil pointer err on prevData
dholms Jan 26, 2026
aef07be
Tap: fix nil pointer err on prevData (#1287)
dholms Jan 26, 2026
1700563
workflows: use go.mod as source of truth for the Go version to use (#…
bnewbold Jan 27, 2026
4865d2c
.golangci.yaml: warn if go.mod/go.sum is dirty (#1285)
jcalabro Jan 27, 2026
8f21b63
cmd/tap: move ownership of ^C'able context outside runTap
davecheney Jan 27, 2026
6692f14
cmd/tap: use LoadOrCompute when delivering event to worker (#1283)
jcalabro Jan 27, 2026
2e596ad
cmd/tap: move ownership of ^C'able context outside runTap (#1288)
davecheney Jan 27, 2026
1278e27
cmd/tap: exit runResyncWorker when parent context is cancelled
davecheney Jan 27, 2026
a3140cc
internal/group: add group.G goroutine manager type
davecheney Jan 27, 2026
81ef39e
Switch from go to g.Add for components.
davecheney Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 53 additions & 0 deletions .github/workflows/container-beemo-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: container-beemo-ghcr
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

jobs:
container-beemo-ghcr:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=beemo:,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/beemo/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
52 changes: 52 additions & 0 deletions .github/workflows/container-bigsky-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: container-bigsky-aws
on: [push]
env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }}
# github.repository as <account>/<repo>
IMAGE_NAME: bigsky

jobs:
container-bigsky-aws:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ env.PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/bigsky/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
53 changes: 53 additions & 0 deletions .github/workflows/container-bigsky-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: container-bigsky-ghcr
on: [push]
env:
REGISTRY: ghcr.io
USERNAME: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}

# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

jobs:
container-bigsky-ghcr:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ env.PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=bigsky:,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/bigsky/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
52 changes: 52 additions & 0 deletions .github/workflows/container-bluepages-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: container-bluepages-aws
on: [push]
env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }}
# github.repository as <account>/<repo>
IMAGE_NAME: bluepages

jobs:
container-bluepages-aws:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ env.PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/bluepages/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
52 changes: 52 additions & 0 deletions .github/workflows/container-collectiondir-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: container-collectiondir-aws
on: [push]
env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }}
# github.repository as <account>/<repo>
IMAGE_NAME: collectiondir

jobs:
container-collectiondir-aws:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ env.PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/collectiondir/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
52 changes: 52 additions & 0 deletions .github/workflows/container-hepa-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: container-hepa-aws
on: [push]
env:
REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }}
PASSWORD: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_PASSWORD }}
# github.repository as <account>/<repo>
IMAGE_NAME: hepa

jobs:
container-hepa-aws:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ env.PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/hepa/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
54 changes: 54 additions & 0 deletions .github/workflows/container-hepa-ghcr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: container-hepa-ghcr
on:
push:
branches:
- main
- bnewbold/automod
env:
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}

jobs:
container-hepa-ghcr:
if: github.repository == 'bluesky-social/indigo'
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v1

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,enable=true,priority=100,prefix=hepa:,suffix=,format=long

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: .
file: ./cmd/hepa/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Loading
Loading