Compare commits

..
3 Commits
Author SHA1 Message Date
aneurinandClaude Sonnet 5 e2f13547f9 Remove reference to cloud/cloud repo from README
That repo is private; this one is meant to be public once ready, so it
shouldn't point at a repo readers won't be able to open.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 21:11:43 +01:00
aneurinandClaude Sonnet 5 264478e0dc Drop ENTRYPOINT in favor of CMD ["pass-cli"]
Every real caller (code.aneur.in/cloud/cloud's deploy workflows) runs a
mounted-in script against pass-cli, not bare pass-cli args, so an
ENTRYPOINT override was needed on every invocation. With no ENTRYPOINT,
`docker run this-image sh /script.sh` just replaces CMD directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 21:10:10 +01:00
aneurinandClaude Sonnet 5 d534a21b09 Add Dockerfile and README
Prebuilt glibc image for pass-cli, so Alpine/musl-based CI jobs (e.g.
harmless-easy-bobcat's docker:cli-based deploy workflows) can pull and run
it without hitting missing glibc symbols.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 21:05:36 +01:00
-45
View File
@@ -1,45 +0,0 @@
# Builds and pushes the pass-cli image to code.aneur.in's registry.
#
# Single architecture (amd64) -- the Dockerfile pins a specific
# pass-cli-linux-x86_64 binary, not a TARGETARCH-aware multi-arch build.
#
# Secrets:
# BUILD_API_TOKEN registry push token for code.aneur.in (write:package)
name: Build
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: docker:cli
env:
IMAGE: code.aneur.in/${{ gitea.repository }}
steps:
- name: Install toolchain deps
run: apk add --no-cache nodejs docker-cli-buildx
- uses: actions/checkout@v4
- name: Log in to the container registry
env:
BUILD_API_TOKEN: ${{ secrets.BUILD_API_TOKEN }}
run: echo "$BUILD_API_TOKEN" | docker login code.aneur.in -u "${{ gitea.actor }}" --password-stdin
- name: Promote current "latest" to "previous"
run: |
if docker buildx imagetools inspect "$IMAGE:latest" >/dev/null 2>&1; then
docker buildx imagetools create -t "$IMAGE:previous" "$IMAGE:latest"
else
echo "No existing :latest to promote; skipping."
fi
- name: Build and push "latest"
run: |
docker build -t "$IMAGE:latest" .
docker push "$IMAGE:latest"