Skip to content

Commit 07c0a6f

Browse files
committed
CI: only login to ghcr.io for building matrix-tools if we're on a tag
1 parent a45dae8 commit 07c0a6f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/matrix-tools.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
6060

6161
- name: Login to GHCR
62+
if: ${{ github.ref_type == 'tag' }}
6263
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
6364
with:
6465
registry: ghcr.io

0 commit comments

Comments
 (0)