Skip to content

Commit 1e1efbb

Browse files
committed
Use docker.io
1 parent ccc4fb8 commit 1e1efbb

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
- name: Login to GitHub registry
2626
uses: docker/login-action@v2
2727
with:
28-
registry: ghcr.io
29-
username: ${{ github.repository_owner }}
30-
password: ${{ secrets.GITHUB_TOKEN }}
28+
registry: docker.io
29+
username: ${{ secrets.DOCKER_REPOSITORY_LOGIN }}
30+
password: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
3131

32-
- name: Build image
32+
- name: Build and push image
3333
run: make docker-build
3434
env:
3535
DOCKER_BUILDKIT: 1
3636
PLATFORM: linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/ppc64le,linux/amd64
37-
IMAGE_TAG: ghcr.io/sudo-bot/docker-dmarc-srg/docker-dmarc-srg
37+
IMAGE_TAG: docker.io/botsudo/docker-dmarc-srg
3838
ACTION: push
3939

4040
- name: Test image
4141
run: make docker-test
4242
env:
43-
IMAGE_TAG: ghcr.io/sudo-bot/docker-dmarc-srg/docker-dmarc-srg
43+
IMAGE_TAG: docker.io/botsudo/docker-dmarc-srg

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,15 @@ That will be moved to `DMARC-PROCESSED.Aggregate` or `DMARC-PROCESSED.Invalid`.
3131

3232
## Usage
3333

34-
Note: you need to login to ghcr.io using your GitHub account:
35-
36-
```sh
37-
docker login ghcr.io
38-
```
39-
4034
```yml
4135
version: "2.3"
4236

4337
services:
4438

4539
dmarc-srg:
46-
image: ${IMAGE_TAG}
40+
image: docker.io/botsudo/docker-dmarc-srg
4741
container_name: dmarc-srg
42+
user: application
4843
# If you want to mount a custom config and skip the ENVs
4944
#volumes:
5045
# - ./config.php:/var/www/html/config/conf.php:ro

0 commit comments

Comments
 (0)