winglian commited on
Commit
d3d6fd6
1 Parent(s): b7449a9

just resort to tags ans use main-latest (#424)

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +1 -1
.github/workflows/main.yml CHANGED
@@ -104,5 +104,5 @@ jobs:
104
  push: ${{ github.event_name != 'pull_request' }}
105
  tags: |
106
  ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}
107
- ${{ (matrix.is_latest) && format('{0}:latest', steps.metadata.inputs.images[0]) || '' }}
108
  labels: ${{ steps.metadata.outputs.labels }}
 
104
  push: ${{ github.event_name != 'pull_request' }}
105
  tags: |
106
  ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}
107
+ ${{ (matrix.is_latest) && format('{0}-latest', steps.metadata.outputs.tags) || '' }}
108
  labels: ${{ steps.metadata.outputs.labels }}