winglian commited on
Commit
5f80b35
·
unverified ·
1 Parent(s): 2495909

use inputs for image rather than outputs for docker metadata (#420)

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.outputs.image) || '' }}
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.inputs.images[0]) || '' }}
108
  labels: ${{ steps.metadata.outputs.labels }}