Skip to content

Commit ec7cc76

Browse files
committed
Test
1 parent 4a9b1ef commit ec7cc76

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: release-docker-images
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
4+
push:
5+
tags:
6+
- '*'
77

88
env:
99
IMAGE: zappi/vllm-openai
10+
VERSION: 0.10.2
1011

1112
jobs:
1213
build-triton-wheel-arm64:
@@ -61,6 +62,8 @@ jobs:
6162
uses: docker/metadata-action@v5
6263
with:
6364
images: ${{ env.IMAGE }}
65+
tags: |
66+
type=raw,value=${{ env.VERSION }},prefix=v,suffix=-amd64
6467
- name: Set up QEMU
6568
uses: docker/setup-qemu-action@v3
6669
- name: Set up Docker Buildx
@@ -110,6 +113,8 @@ jobs:
110113
uses: docker/metadata-action@v5
111114
with:
112115
images: ${{ env.IMAGE }}
116+
tags: |
117+
type=raw,value=${{ env.VERSION }},prefix=v,suffix=-arm64
113118
- name: Set up QEMU
114119
uses: docker/setup-qemu-action@v3
115120
- name: Set up Docker Buildx
@@ -168,18 +173,18 @@ jobs:
168173
password: ${{ secrets.DOCKER_HUB_TOKEN }}
169174
repository: ${{ env.IMAGE }}
170175

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

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
uses: docker/metadata-action@v5
6262
with:
6363
images: ${{ env.IMAGE }}
64+
tags: |
65+
type=raw,value=${{ env.VERSION }},prefix=v,suffix=-amd64
6466
- name: Set up QEMU
6567
uses: docker/setup-qemu-action@v3
6668
- name: Set up Docker Buildx
@@ -105,6 +107,8 @@ jobs:
105107
uses: docker/metadata-action@v5
106108
with:
107109
images: ${{ env.IMAGE }}
110+
tags: |
111+
type=raw,value=${{ env.VERSION }},prefix=v,suffix=-arm64
108112
- name: Set up QEMU
109113
uses: docker/setup-qemu-action@v3
110114
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)