diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index be2ef5b..95c6d70 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -139,6 +139,39 @@ jobs: --cache-from type=registry,ref=gitea.siegeln.net/cameleer/cameleer-logto:buildcache \ --cache-to type=registry,ref=gitea.siegeln.net/cameleer/cameleer-logto:buildcache,mode=max \ --provenance=false \ - --push ui/sign-in/ + --push . env: REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} + + - name: Build and push PostgreSQL image + run: | + TAGS="-t gitea.siegeln.net/cameleer/cameleer-postgres:${{ github.sha }}" + for TAG in $IMAGE_TAGS; do + TAGS="$TAGS -t gitea.siegeln.net/cameleer/cameleer-postgres:$TAG" + done + docker buildx build --platform linux/amd64 \ + $TAGS \ + --provenance=false \ + --push docker/cameleer-postgres/ + + - name: Build and push ClickHouse image + run: | + TAGS="-t gitea.siegeln.net/cameleer/cameleer-clickhouse:${{ github.sha }}" + for TAG in $IMAGE_TAGS; do + TAGS="$TAGS -t gitea.siegeln.net/cameleer/cameleer-clickhouse:$TAG" + done + docker buildx build --platform linux/amd64 \ + $TAGS \ + --provenance=false \ + --push docker/cameleer-clickhouse/ + + - name: Build and push Traefik image + run: | + TAGS="-t gitea.siegeln.net/cameleer/cameleer-traefik:${{ github.sha }}" + for TAG in $IMAGE_TAGS; do + TAGS="$TAGS -t gitea.siegeln.net/cameleer/cameleer-traefik:$TAG" + done + docker buildx build --platform linux/amd64 \ + $TAGS \ + --provenance=false \ + --push docker/cameleer-traefik/