Skip to content

Commit cad6332

Browse files
committed
Checkout based on git reference
1 parent f2894eb commit cad6332

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v4
2727
with:
28-
ref: ${{ inputs.commit || 'main' }}
28+
ref: ${{ github.ref || inputs.commit || 'main' }}
2929

3030
- name: Log in to Docker Hub
3131
uses: docker/login-action@v3

0 commit comments

Comments
 (0)