From 017dfd97bf8e14a5ddd4c9041500c804951cf820 Mon Sep 17 00:00:00 2001 From: Allison Thackston Date: Mon, 30 Dec 2024 20:43:50 -0600 Subject: [PATCH] Update docker.yml (#538) --- .github/workflows/docker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0ae9adf5..98b88ea2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,6 +12,7 @@ on: - '**.Dockerfile' - .github/workflows/docker.yml pull_request: + pull_request_target: workflow_dispatch: # Cancel in-progress funs of the same workflow @@ -234,13 +235,11 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub uses: docker/login-action@v3 - if: github.actor == github.repository_owner with: username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Log in to GHCR uses: docker/login-action@v3 - if: github.actor == github.repository_owner with: registry: ghcr.io username: ${{ github.actor }}