use inputs for image rather than outputs for docker metadata (#420)
Browse files
.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.
|
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 }}
|