Skip to content

Commit 45d7b9d

Browse files
authored
Update CI + readme
1 parent 3ac2f36 commit 45d7b9d

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

‎.github/workflows/docker.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,19 @@ jobs:
7373
platforms: linux/amd64
7474
cache-from: type=gha
7575
cache-to: type=gha
76+
77+
docs:
78+
name: "Docs"
79+
needs: build
80+
runs-on: ubuntu-latest
81+
if: ${{ github.ref == 'refs/heads/master' }}
82+
steps:
83+
- name: Checkout
84+
uses: actions/checkout@v6
85+
86+
- name: Update Docker Hub description
87+
uses: peter-evans/dockerhub-description@v5
88+
with:
89+
username: ${{ secrets.DOCKERHUB_USERNAME }}
90+
password: ${{ secrets.DOCKERHUB_TOKEN }}
91+
repository: dockette/coder

‎Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ build-all:
1818
$(MAKE) build DOCKER_VARIANT=golang
1919
$(MAKE) build DOCKER_VARIANT=python
2020

21+
.PHONY: run
22+
run:
23+
docker run --rm -it --platform ${DOCKER_PLATFORMS} ${DOCKER_IMAGE}:${DOCKER_TAG}
24+
2125
.PHONY: test
2226
test:
2327
$(MAKE) test-${DOCKER_VARIANT}

‎README.md‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
and extended with PHP, Node tooling, and a few AI CLIs we use day to day.
66
</p>
77

8+
<p align=center>
9+
<a href="https://github.com/dockette/coder/actions"><img src="https://github.com/dockette/coder/actions/workflows/docker.yml/badge.svg" alt="GitHub Actions"></a>
10+
<a href="https://hub.docker.com/r/dockette/coder"><img src="https://img.shields.io/docker/pulls/dockette/coder.svg" alt="Docker Hub pulls"></a>
11+
<a href="https://github.com/sponsors/f3l1x"><img src="https://img.shields.io/badge/sponsor-GitHub%20Sponsors-ea4aaa" alt="GitHub Sponsors"></a>
12+
<a href="https://github.com/orgs/dockette/discussions"><img src="https://img.shields.io/badge/support-discussions-6f42c1" alt="Support/Discussions"></a>
13+
</p>
14+
815
-----
916

1017
## Motivation
@@ -46,8 +53,9 @@ So you’re replacing the plain enterprise base with the same foundation plus ou
4653
```bash
4754
make build
4855
make test
56+
make run
4957
```
5058

51-
-----
59+
## Maintenance
5260

53-
Consider supporting [f3l1x on GitHub Sponsors](https://github.com/sponsors/f3l1x) if you rely on this. Thanks for using it.
61+
See [how to contribute](https://github.com/dockette/.github/blob/master/CONTRIBUTING.md) to this package. Consider to [support](https://github.com/sponsors/f3l1x) **f3l1x**. Thank you for using this package.

0 commit comments

Comments
 (0)