From af49f56a7e01fc1bbb43039c4ee573f73f9a5018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9l=C3=A8ne=20Martin?= Date: Tue, 5 Dec 2023 17:01:20 -0800 Subject: [PATCH 1/2] Update publish.yml --- .github/workflows/publish.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d87828a..c558247 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 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 @@ -45,4 +39,4 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} From 4b9f064edd16ac3927b7fd290f3d27cffe0873de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9l=C3=A8ne=20Martin?= Date: Tue, 5 Dec 2023 17:02:58 -0800 Subject: [PATCH 2/2] Improve sentence --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c558247..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 GHCR + name: Push Docker image to GHCR runs-on: ubuntu-latest permissions: packages: write @@ -33,7 +33,7 @@ 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: .