Skip to content
Snippets Groups Projects
Commit c7ec7377 authored by Mohamed Mahmoud's avatar Mohamed Mahmoud
Browse files

use sha as an image tag instead of temp

parent 92e2c90a
No related branches found
No related tags found
Loading
...@@ -8,7 +8,6 @@ env: ...@@ -8,7 +8,6 @@ env:
REGISTRY: quay.io/netobserv REGISTRY: quay.io/netobserv
IMAGE: netobserv-ebpf-agent IMAGE: netobserv-ebpf-agent
ORG: netobserv ORG: netobserv
VERSION: temp
jobs: jobs:
push-pr-image: push-pr-image:
...@@ -40,7 +39,7 @@ jobs: ...@@ -40,7 +39,7 @@ jobs:
- name: build and push images - name: build and push images
run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make images run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make images
- name: build and push manifest - name: build and push manifest
run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.VERSION }} make ci-manifest run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make ci-manifest
- uses: actions/github-script@v6 - uses: actions/github-script@v6
with: with:
github-token: ${{secrets.GITHUB_TOKEN}} github-token: ${{secrets.GITHUB_TOKEN}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment