Skip to content

Commit

Permalink
Merge pull request #44 from getodk/remove-docker-hub
Browse files Browse the repository at this point in the history
Remove Docker Hub publishing
  • Loading branch information
yanokwa authored Dec 6, 2023
2 parents 96f6da0 + 4b9f064 commit 9174316
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
push_to_registries:
name: Push Docker image to multiple registries
name: Push Docker image to GHCR
runs-on: ubuntu-latest
permissions:
packages: write
Expand All @@ -17,12 +17,6 @@ jobs:

- name: Run tests
run: bash test.sh

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand All @@ -39,10 +33,10 @@ jobs:
getodk/pyxform-http
ghcr.io/${{ github.repository }}
- name: Build and push Docker images
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 9174316

Please sign in to comment.