Skip to content

Commit 9174316

Browse files
authored
Merge pull request #44 from getodk/remove-docker-hub
Remove Docker Hub publishing
2 parents 96f6da0 + 4b9f064 commit 9174316

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
push_to_registries:
9-
name: Push Docker image to multiple registries
9+
name: Push Docker image to GHCR
1010
runs-on: ubuntu-latest
1111
permissions:
1212
packages: write
@@ -17,12 +17,6 @@ jobs:
1717

1818
- name: Run tests
1919
run: bash test.sh
20-
21-
- name: Log in to Docker Hub
22-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
23-
with:
24-
username: ${{ secrets.DOCKER_USERNAME }}
25-
password: ${{ secrets.DOCKER_PASSWORD }}
2620

2721
- name: Log in to the Container registry
2822
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
@@ -39,10 +33,10 @@ jobs:
3933
getodk/pyxform-http
4034
ghcr.io/${{ github.repository }}
4135
42-
- name: Build and push Docker images
36+
- name: Build and push Docker image
4337
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
4438
with:
4539
context: .
4640
push: true
4741
tags: ${{ steps.meta.outputs.tags }}
48-
labels: ${{ steps.meta.outputs.labels }}
42+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)