We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d95e346 commit d484b1dCopy full SHA for d484b1d
.github/workflows/docker.yml
@@ -4,7 +4,7 @@ on:
4
schedule:
5
- cron: "0 10 * * *" # everyday at 10am
6
workflow_dispatch:
7
- pull_request_target:
+ pull_request:
8
branches: ["latest"]
9
push:
10
@@ -20,6 +20,8 @@ jobs:
20
steps:
21
- name: Check out the repo
22
uses: actions/checkout@v5
23
+ with:
24
+ ref: ${{ github.head_ref || github.ref }}
25
- name: Set imageName based on the repository name
26
id: step_one
27
run: |
@@ -46,5 +48,6 @@ jobs:
46
48
with:
47
49
platforms: ${{ env.platforms }}
50
push: ${{ github.event_name != 'pull_request' }}
51
+ pull: true
52
tags: ${{ steps.docker_meta.outputs.tags }}
53
labels: ${{ steps.docker_meta.outputs.labels }}
0 commit comments