File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -125,17 +125,17 @@ jobs:
125125 with : { go-version: '1.19', cache: true }
126126 - uses : actions/download-artifact@v3
127127 with : { name: ui, path: ui/dist }
128+ - name : Version
129+ if : github.ref_type == 'tag' && github.ref_name != ''
130+ run : |
131+ echo ${{ github.ref_name }}
132+ echo ${{ github.ref_name }} > VERSION
128133 - run : go build -o catalyst ./cmd/catalyst/.
129134 - uses : docker/login-action@v2
130135 with :
131136 registry : ${{ env.REGISTRY }}
132137 username : ${{ github.actor }}
133138 password : ${{ secrets.GITHUB_TOKEN }}
134- - name : Version
135- if : github.ref_type == 'tag' && github.ref_name != ''
136- run : |
137- echo ${{ github.ref_name }}
138- echo ${{ github.ref_name }} > VERSION
139139 - name : Extract metadata (tags, labels) for Docker
140140 id : meta
141141 uses : docker/metadata-action@v4
You can’t perform that action at this time.
0 commit comments