diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d87828a..1a6bfeb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 @@ -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 }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}