Skip to content

Commit 115ccb0

Browse files
committed
No need to run this job in CI
1 parent c45b7a5 commit 115ccb0

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
paths-ignore:
9-
- 'docs/**'
10-
- 'README.md'
11-
- 'zensical.toml'
127
release:
138
types: [published]
149
workflow_dispatch:
@@ -33,7 +28,6 @@ jobs:
3328
uses: docker/setup-buildx-action@v3
3429

3530
- name: Log in to GitHub Container Registry
36-
if: github.event_name != 'pull_request'
3731
uses: docker/login-action@v3
3832
with:
3933
registry: ${{ env.REGISTRY }}
@@ -62,13 +56,12 @@ jobs:
6256
with:
6357
context: .
6458
file: docker/Dockerfile
65-
push: ${{ github.event_name != 'pull_request' }}
59+
push: true
6660
tags: ${{ steps.meta.outputs.tags }}
6761
labels: ${{ steps.meta.outputs.labels }}
6862
cache-from: type=gha
6963
cache-to: type=gha,mode=max
7064
platforms: linux/amd64,linux/arm64
7165

7266
- name: Image digest
73-
if: github.event_name != 'pull_request'
7467
run: echo "Image pushed with digest ${{ steps.meta.outputs.digest }}"

0 commit comments

Comments
 (0)