Skip to content

Commit 5ddeca7

Browse files
committed
Switching to ghcr.io/deniszh
1 parent fd5335c commit 5ddeca7

4 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/master-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
4141
- name: Build and push amd64 image to ghcr.io
4242
run: |
43-
docker buildx build --platform=linux/amd64 --push -t ghcr.io/${{ github.actor }}/graphite-statsd:master .
43+
docker buildx build --platform=linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:master .

.github/workflows/release-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ jobs:
5757
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
5858
# Strip "v" prefix from tag name
5959
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo ${VERSION} | sed -e 's/^v//')
60-
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/graphite-project/graphite-statsd:${VERSION} .
61-
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/graphite-project/graphite-statsd:latest .
60+
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:${VERSION} .
61+
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:latest .

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG BASEIMAGE=alpine:3.15
22
FROM $BASEIMAGE as base
33
LABEL maintainer="Denys Zhdanov <denis.zhdanov@gmail.com>"
4+
LABEL org.opencontainers.image.source https://github.com/graphite-project/docker-graphite-statsd
45

56
RUN true \
67
&& apk add --update --no-cache \

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Any suggestions / patches etc. are welcome!
1313
- Starting from `1.1.7-11` we're building linux/s390x versions too.
1414
- Starting from `1.1.7-6` and up to `1.1.8-5` we were building '-pypy' version of x64 image, but now pypy building is disabled because lacking recent pypy docker images based on Alpine.
1515
- Starting from `1.1.9-1` we're building we're building linux/arm/v7 and linux/arm64/v8 by default.
16-
- Starting from `1.1.9-1` we marked ghcr.io as preferred repository instead of Docker hub.
16+
- Starting from `1.1.9-1` we're uploading packages also to ghcr.io/deniszh repository.
1717

1818
# Docker Image for Graphite & Statsd
1919

@@ -35,7 +35,18 @@ docker run -d\
3535
-p 8126:8126\
3636
graphiteapp/graphite-statsd
3737
```
38-
38+
or
39+
```sh
40+
docker run -d\
41+
--name graphite\
42+
--restart=always\
43+
-p 80:80\
44+
-p 2003-2004:2003-2004\
45+
-p 2023-2024:2023-2024\
46+
-p 8125:8125/udp\
47+
-p 8126:8126\
48+
ghcr.io/deniszh/graphite-statsd
49+
```
3950
This starts a Docker container named: **graphite**
4051

4152
Please also note that you can freely remap container port to any host port in case of corresponding port is already occupied on host. It's also not mandatory to map all ports, map only required ports - please see table below.

0 commit comments

Comments
 (0)