Skip to content

Commit 63bf237

Browse files
committed
chore: build images from main as latest
1 parent 69f2b89 commit 63bf237

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/redhat-distro-container-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@ name: Build and Publish Redhat Distribution Container for Multi-Arch
33
on:
44
pull_request:
55
branches:
6+
- main
67
- rhoai-v*
78
types:
89
- opened
910
- synchronize
1011
push:
1112
branches:
13+
- main
1214
- rhoai-v*
1315

1416
env:
1517
REGISTRY: quay.io
1618
# TODO: change the tag to whatever downstream needs
1719
# IMAGE_NAME: quay.io/opendatahub/llama-stack:odh
1820
# For now, use the commit SHA that triggered the workflow.
19-
IMAGE_NAME: quay.io/opendatahub/llama-stack:${{ github.sha }}
21+
IMAGE_NAME: quay.io/opendatahub/llama-stack
2022

2123
jobs:
2224
build-and-push:
@@ -52,4 +54,4 @@ jobs:
5254
file: redhat-distribution/Containerfile
5355
platforms: ${{ matrix.platform }}
5456
push: ${{ github.event_name == 'push' }}
55-
tags: ${{ env.IMAGE_NAME }}
57+
tags: ${{ env.IMAGE_NAME }}:${{ github.sha }},${{ env.IMAGE_NAME }}:latest

0 commit comments

Comments
 (0)