Skip to content

Commit aefa856

Browse files
authored
Merge pull request #31 from sil-org/remove-dockerhub-push
Remove DockerHub push
2 parents 253f1c5 + 2f61e8b commit aefa856

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16-
- name: Log in to Docker Hub
17-
uses: docker/login-action@v3
18-
with:
19-
username: ${{ secrets.DOCKERHUB_USERNAME }}
20-
password: ${{ secrets.DOCKERHUB_TOKEN }}
21-
2216
- name: Log in to GitHub Container Registry
2317
uses: docker/login-action@v3
2418
with:
@@ -31,7 +25,6 @@ jobs:
3125
uses: docker/metadata-action@v5
3226
with:
3327
images: |
34-
${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
3528
ghcr.io/${{ github.repository }}
3629
tags: |
3730
type=ref,event=branch # Tag with branch name
@@ -43,7 +36,7 @@ jobs:
4336
# org.opencontainers.image.revision=${{ github.sha }}
4437
# org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
4538

46-
- name: Build and push Docker image to DockerHub and GHCR
39+
- name: Build and push Docker image to GHCR
4740
uses: docker/build-push-action@v5
4841
with:
4942
context: .

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ Service to backup and/or restore a PostgreSQL database to/from S3
4545
`B2_APPLICATION_KEY` (optional; required if `B2_BUCKET` is defined) Backblaze application key secret
4646

4747
`B2_HOST` (optional; required if `B2_BUCKET` is defined) Backblaze B2 bucket's `Endpoint`
48-
## Docker Hub
49-
This image is built automatically on Docker Hub as [silintl/postgresql-backup-restore](https://hub.docker.com/r/silintl/postgresql-backup-restore/)
48+
49+
## Docker
50+
This image is built automatically to GitHub Packages (GHCR)
5051

5152
## Playing with it locally
5253
You'll need [Docker](https://www.docker.com/get-docker), [Docker Compose](https://docs.docker.com/compose/install/), and [Make](https://www.gnu.org/software/make/).

0 commit comments

Comments
 (0)