Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
Added sha to redis and mongodb images. Note that images are only building on dev-kube branch.
  • Loading branch information
popenc authored Aug 28, 2024
1 parent 3aed52d commit 9a1794a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.CTS_MONGODB_IMAGE }}
tags: |
type=raw,value=${{github.ref_name}}
type=raw,value=${{github.ref_name}}-${{github.sha}}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down Expand Up @@ -69,12 +69,12 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.CTS_REDIS_IMAGE }}
tags: |
type=raw,value=${{github.ref_name}}
type=raw,value=${{github.ref_name}}-${{github.sha}}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: cts_redis/
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 9a1794a

Please sign in to comment.