|
1 | 1 | name: release-docker-images |
2 | 2 |
|
3 | 3 | on: |
4 | | - pull_request: |
5 | | - branches: |
6 | | - - main |
| 4 | + push: |
| 5 | + tags: |
| 6 | + - '*' |
7 | 7 |
|
8 | 8 | env: |
9 | 9 | IMAGE: zappi/vllm-openai |
| 10 | + VERSION: 0.10.2 |
10 | 11 |
|
11 | 12 | jobs: |
12 | 13 | build-triton-wheel-arm64: |
|
61 | 62 | uses: docker/metadata-action@v5 |
62 | 63 | with: |
63 | 64 | images: ${{ env.IMAGE }} |
| 65 | + tags: | |
| 66 | + type=raw,value=${{ env.VERSION }},prefix=v,suffix=-amd64 |
64 | 67 | - name: Set up QEMU |
65 | 68 | uses: docker/setup-qemu-action@v3 |
66 | 69 | - name: Set up Docker Buildx |
@@ -110,6 +113,8 @@ jobs: |
110 | 113 | uses: docker/metadata-action@v5 |
111 | 114 | with: |
112 | 115 | images: ${{ env.IMAGE }} |
| 116 | + tags: | |
| 117 | + type=raw,value=${{ env.VERSION }},prefix=v,suffix=-arm64 |
113 | 118 | - name: Set up QEMU |
114 | 119 | uses: docker/setup-qemu-action@v3 |
115 | 120 | - name: Set up Docker Buildx |
@@ -168,18 +173,18 @@ jobs: |
168 | 173 | password: ${{ secrets.DOCKER_HUB_TOKEN }} |
169 | 174 | repository: ${{ env.IMAGE }} |
170 | 175 |
|
171 | | - github-release: |
172 | | - runs-on: ubuntu-latest |
173 | | - needs: docker-hub-release |
174 | | - steps: |
175 | | - - name: Checkout |
176 | | - uses: actions/checkout@v5 |
177 | | - - name: Create Release |
178 | | - uses: actions/create-release@v1 |
179 | | - env: |
180 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
181 | | - with: |
182 | | - tag_name: ${{ github.ref }} |
183 | | - release_name: Version ${{ github.ref }} |
184 | | - draft: false |
185 | | - prerelease: false |
| 176 | + # github-release: |
| 177 | + # runs-on: ubuntu-latest |
| 178 | + # needs: docker-hub-release |
| 179 | + # steps: |
| 180 | + # - name: Checkout |
| 181 | + # uses: actions/checkout@v5 |
| 182 | + # - name: Create Release |
| 183 | + # uses: actions/create-release@v1 |
| 184 | + # env: |
| 185 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 186 | + # with: |
| 187 | + # tag_name: ${{ github.ref }} |
| 188 | + # release_name: Version ${{ github.ref }} |
| 189 | + # draft: false |
| 190 | + # prerelease: false |
0 commit comments