fix how nightly tag is generated (#1456) [skip ci]
Browse files
.github/workflows/nightlies.yml
CHANGED
|
@@ -38,6 +38,8 @@ jobs:
|
|
| 38 |
uses: docker/metadata-action@v5
|
| 39 |
with:
|
| 40 |
images: winglian/axolotl
|
|
|
|
|
|
|
| 41 |
- name: Set up Docker Buildx
|
| 42 |
uses: docker/setup-buildx-action@v3
|
| 43 |
- name: Login to Docker Hub
|
|
@@ -58,7 +60,7 @@ jobs:
|
|
| 58 |
file: ./docker/Dockerfile
|
| 59 |
push: ${{ github.event_name != 'pull_request' }}
|
| 60 |
tags: |
|
| 61 |
-
${{ steps.metadata.outputs.tags }}
|
| 62 |
labels: ${{ steps.metadata.outputs.labels }}
|
| 63 |
|
| 64 |
build-axolotl-cloud:
|
|
@@ -93,6 +95,8 @@ jobs:
|
|
| 93 |
uses: docker/metadata-action@v5
|
| 94 |
with:
|
| 95 |
images: winglian/axolotl-cloud
|
|
|
|
|
|
|
| 96 |
- name: Login to Docker Hub
|
| 97 |
uses: docker/login-action@v3
|
| 98 |
with:
|
|
@@ -110,5 +114,5 @@ jobs:
|
|
| 110 |
file: ./docker/Dockerfile-cloud
|
| 111 |
push: ${{ github.event_name != 'pull_request' }}
|
| 112 |
tags: |
|
| 113 |
-
${{ steps.metadata.outputs.tags }}
|
| 114 |
labels: ${{ steps.metadata.outputs.labels }}
|
|
|
|
| 38 |
uses: docker/metadata-action@v5
|
| 39 |
with:
|
| 40 |
images: winglian/axolotl
|
| 41 |
+
tags: |
|
| 42 |
+
type=raw,value=mytag-{{branch}}-{{date 'YYYYMMDD'}}
|
| 43 |
- name: Set up Docker Buildx
|
| 44 |
uses: docker/setup-buildx-action@v3
|
| 45 |
- name: Login to Docker Hub
|
|
|
|
| 60 |
file: ./docker/Dockerfile
|
| 61 |
push: ${{ github.event_name != 'pull_request' }}
|
| 62 |
tags: |
|
| 63 |
+
${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}
|
| 64 |
labels: ${{ steps.metadata.outputs.labels }}
|
| 65 |
|
| 66 |
build-axolotl-cloud:
|
|
|
|
| 95 |
uses: docker/metadata-action@v5
|
| 96 |
with:
|
| 97 |
images: winglian/axolotl-cloud
|
| 98 |
+
tags: |
|
| 99 |
+
type=raw,value=mytag-{{branch}}-{{date 'YYYYMMDD'}}
|
| 100 |
- name: Login to Docker Hub
|
| 101 |
uses: docker/login-action@v3
|
| 102 |
with:
|
|
|
|
| 114 |
file: ./docker/Dockerfile-cloud
|
| 115 |
push: ${{ github.event_name != 'pull_request' }}
|
| 116 |
tags: |
|
| 117 |
+
${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}
|
| 118 |
labels: ${{ steps.metadata.outputs.labels }}
|