Skip to content

Commit 341bda8

Browse files
authored
Move from github.ref.name -> github.ref_name (#414)
1 parent 8e7d9ad commit 341bda8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ jobs:
6060
platforms: linux/amd64
6161
tags: ${{ steps.metadata.outputs.tags }}
6262
cache-from: type=registry,ref=ghcr.io/spack/tutorial:buildcache
63-
cache-to: ${{ github.ref.name == github.event.repository.default_branch
63+
cache-to: ${{ github.ref_name == github.event.repository.default_branch
6464
&& 'type=registry,ref=ghcr.io/spack/tutorial:buildcache,mode=max' || '' }}
65-
outputs: ${{ (github.ref.name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/'))
65+
outputs: ${{ (github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/'))
6666
&& 'type=registry' || 'type=docker,dest=/tmp/tutorial-container.tar' }}
6767

6868
- name: Upload container as artifact for PRs

0 commit comments

Comments
 (0)