Skip to content

Commit ae67aa5

Browse files
committed
Updated workflow to push images with sha tags
Signed-off-by: Chaitanya Kulkarni <chkulkar@redhat.com>
1 parent efc1616 commit ae67aa5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/maas-api-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
retention-days: 30
4646

4747
- name: Build image
48-
run: make build-image
48+
run: make build-image REPO=quay.io/chkulkar/maas-api
4949

5050
- name: Login to Quay.io
5151
if: github.event_name == 'push'
@@ -57,4 +57,6 @@ jobs:
5757

5858
- name: Push image to Quay.io
5959
if: github.event_name == 'push'
60-
run: make push-image
60+
run: |
61+
make build-push-image
62+
make build-push-image -e TAG=${{ github.sha }}

0 commit comments

Comments
 (0)