Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build_and_push_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Create dev image tag
run: |
echo "DEV_TAG=dev-$(date +%Y%m%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "SHORT_COMMIT=$(git rev-parse --short=7 HEAD)" >> $GITHUB_ENV
echo "dev image tag: ${{ env.DEV_TAG }}"
- name: Build image with Buildah
id: build_image
Expand All @@ -37,6 +38,7 @@ jobs:
image: ${{ env.IMAGE_NAME }}
tags: |
${{ env.DEV_TAG }}
${{ env.SHORT_COMMIT }}
${{ env.LATEST_TAG }}
containerfiles: |
${{ env.CONTAINER_FILE }}
Expand Down
3 changes: 3 additions & 0 deletions .tekton/lightspeed-stack-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: IMAGE_DIGEST
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: ADDITIONAL_TAGS
value:
- $(tasks.clone-repository.results.short-commit)
runAfter:
- build-image-index
taskRef:
Expand Down
Loading