Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmadigan authored Sep 26, 2024
1 parent 9b783e0 commit 9066788
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Image
on:
push:
branches:
- main # This ensures the action only runs on pushes to the main branch
- main # only for merges/pushes to main

env:
REGISTRY_USER: ${{ secrets.QUAY_USER }}
Expand All @@ -30,7 +30,9 @@ jobs:
uses: redhat-actions/buildah-build@v2
with:
image: quay.io/kuadrant/console-plugin
tags: latest,${{ github.sha }}
tags: |
latest
${{ github.sha }} # Tag with the current commit SHA
containerfiles: |
./Dockerfile
Expand Down

0 comments on commit 9066788

Please sign in to comment.