diff --git a/.github/workflows/docker_dev.yml b/.github/workflows/docker_dev.yml index 37efbd6fa..900856f05 100644 --- a/.github/workflows/docker_dev.yml +++ b/.github/workflows/docker_dev.yml @@ -32,6 +32,9 @@ env: REGISTRY: ghcr.io # github.repository as / IMAGE_NAME: ${{ github.repository }} + # temp + e1: ${{ github.event_name }} + e2: ${{ github.base_ref }}-${{github.head_ref }} jobs: # Push image to GitHub Packages. @@ -114,7 +117,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to GHCR - if: github.event_name != 'pull_request' || github.base_ref == github.head_ref + if: github.base_ref == github.head_ref uses: docker/login-action@v2 with: registry: ghcr.io @@ -126,6 +129,6 @@ jobs: with: platforms: linux/amd64,linux/arm64,linux/arm/v7 context: . - push: ${{ github.event_name != 'pull_request' || github.base_ref == github.head_ref }} + push: ${{ github.base_ref == github.head_ref }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}