File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -295,15 +295,16 @@ jobs:
295
295
steps :
296
296
- name : Checkout
297
297
uses : actions/checkout@v4
298
+ - name : Get version from branch
299
+ run : echo "PACKAGE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
298
300
- name : Buildah build
299
301
id : build-image
300
302
uses : redhat-actions/buildah-build@v2
301
303
with :
302
304
image : ${{ github.event.repository.name }}
303
305
build-args : |
304
306
GUIDELLM_BUILD_TYPE=candidate
305
- # TODO: Tag version
306
- tags : latest
307
+ tags : latest ${{ env.package_version }}-rc
307
308
containerfiles : |
308
309
./Containerfile
309
310
- name : Push To ghcr.io
Original file line number Diff line number Diff line change @@ -294,15 +294,16 @@ jobs:
294
294
steps :
295
295
- name : Checkout
296
296
uses : actions/checkout@v4
297
+ - name : Get version from branch
298
+ run : echo "PACKAGE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
297
299
- name : Buildah build
298
300
id : build-image
299
301
uses : redhat-actions/buildah-build@v2
300
302
with :
301
303
image : ${{ github.event.repository.name }}
302
304
build-args : |
303
305
GUIDELLM_BUILD_TYPE=release
304
- # TODO: Tag version
305
- tags : latest stable
306
+ tags : latest stable ${{ env.package_version }}
306
307
containerfiles : |
307
308
./Containerfile
308
309
- name : Push To ghcr.io
You can’t perform that action at this time.
0 commit comments