Skip to content

Commit

Permalink
Split default website from code
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Dec 2, 2021
1 parent eaf96e9 commit f84bf29
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 117 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,3 @@ jobs:
file: ./Dockerfile
push: true
tags: ${{ steps.prep.outputs.tags }}
- name: Build
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
context: website
file: ./website/Dockerfile
push: true
tags: quay.io/mudler/containerbay:website
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ curl https://containerbay.io/quay.io/mudler/containerbay:website/

Some notable examples that you can just browse right away:

- [Our example page here](https://containerbay.io/quay.io/mudler/containerbay:website/) alternatively [here](http://quay.io.mudler.containerbay.website.containerbay.io/) hosted on [quay.io](https://quay.io/repository/mudler/containerbay)!
- [Our example page here](https://containerbay.io/ghcr.io/containerbay/containerbay.io:latest/) hosted on [ghcr.io](https://ghcr.io/containerbay/containerbay.io)!
- [openSUSE](https://containerbay.io/docker.io/opensuse/leap/)
- [Alpine](https://containerbay.io/docker.io/library/alpine/)
- [Alpine (mirror)](https://containerbay.io/mirror.gcr.io/library/alpine/etc/)
Expand Down Expand Up @@ -66,7 +66,7 @@ will return `/etc/os-release` from `alpine:latest`.

## Bind to a custom domain

Containerbay can associate a custom domain to a container image. In this way you can have images containing static HTML files and use it to serve a subdomain or a top level dns. See as an example the `website` folder in this repository.
Containerbay can associate a custom domain to a container image. In this way you can have images containing static HTML files and use it to serve a subdomain or a top level dns. See as an [example repository](https://github.com/containerbay/containerbay.io).

Point your DNS to the containerbay instance via `A` or `CNAME` and add a corresponding `TXT` record.

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var flags = []cli.Flag{
Name: "default-image",
Usage: "Default image to use",
EnvVar: "CONTAINERBAY_DEFAULTIMAGE",
Value: "quay.io/mudler/containerbay:website",
Value: "ghcr.io/containerbay/containerbay.io:latest",
},
&cli.StringFlag{
Name: "cleanup",
Expand Down
2 changes: 0 additions & 2 deletions website/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions website/README.md

This file was deleted.

98 changes: 0 additions & 98 deletions website/index.html

This file was deleted.

0 comments on commit f84bf29

Please sign in to comment.