Skip to content

Commit

Permalink
Use docker.io
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Oct 14, 2023
1 parent ccc4fb8 commit 1e1efbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
- name: Login to GitHub registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.io
username: ${{ secrets.DOCKER_REPOSITORY_LOGIN }}
password: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}

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

- name: Test image
run: make docker-test
env:
IMAGE_TAG: ghcr.io/sudo-bot/docker-dmarc-srg/docker-dmarc-srg
IMAGE_TAG: docker.io/botsudo/docker-dmarc-srg
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,15 @@ That will be moved to `DMARC-PROCESSED.Aggregate` or `DMARC-PROCESSED.Invalid`.

## Usage

Note: you need to login to ghcr.io using your GitHub account:

```sh
docker login ghcr.io
```

```yml
version: "2.3"

services:

dmarc-srg:
image: ${IMAGE_TAG}
image: docker.io/botsudo/docker-dmarc-srg
container_name: dmarc-srg
user: application
# If you want to mount a custom config and skip the ENVs
#volumes:
# - ./config.php:/var/www/html/config/conf.php:ro
Expand Down

0 comments on commit 1e1efbb

Please sign in to comment.