Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,32 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}

# Also publish to the in-cluster registry the k8s deployments actually pull
# from. The fraios synmetrix overlays remap cube/actions to
# registry.fraios.dev/fraios/*; without this push that registry was only
# updated by a manual sync, so CI builds never reached dbx.
- name: Log in to fraios registry
uses: docker/login-action@v3
with:
registry: registry.fraios.dev
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Compute fraios registry image name
id: fraios
run: echo "image=registry.fraios.dev/fraios/${IMAGE#quicklookup/}" >> "$GITHUB_OUTPUT"
env:
IMAGE: ${{ matrix.image }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ matrix.image }}
# Same tags pushed to BOTH Docker Hub (external) and our in-cluster
# registry (what dbx pulls). build-push-action pushes every tag.
images: |
${{ matrix.image }}
${{ steps.fraios.outputs.image }}
tags: |
type=ref,event=branch
type=ref,event=pr
Expand Down
Loading