From bd6edbbec69b7f79d74ae41090e15ea0ba7b14c3 Mon Sep 17 00:00:00 2001 From: Chris <15677803+c00ldude1oo@users.noreply.github.com> Date: Mon, 16 May 2022 11:36:07 -0400 Subject: [PATCH] Reverting changes from c593334 Changing to back to how it was before c593334 --- .github/workflows/docker_dev.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker_dev.yml b/.github/workflows/docker_dev.yml index 235cbeff6..529b1cab6 100644 --- a/.github/workflows/docker_dev.yml +++ b/.github/workflows/docker_dev.yml @@ -7,11 +7,11 @@ on: push: branches: [dev] paths-ignore: -# temp - '.github/**' + - '.github/**' - '**.md' pull_request: paths-ignore: -# temp remove to test workflow - '.github/**' + - '.github/**' - '**.md' workflow_dispatch: inputs: @@ -118,14 +118,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Check perms - uses: actions-cool/check-user-permission@main - id: checkUser - with: - require: 'write' - - name: Login to GHCR - if: steps.checkUser.outputs.require-result == 'true' + if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: registry: ghcr.io @@ -137,6 +131,6 @@ jobs: with: platforms: linux/amd64,linux/arm64,linux/arm/v7 context: . - push: ${{ steps.checkUser.outputs.require-result == 'true' }} + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}