Fixed replacing digest

This commit is contained in:
SamTV12345 2025-04-07 21:07:10 +02:00 committed by SamTV12345
parent 227cb59751
commit 6a750f191e

View file

@ -103,6 +103,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- -
name: Build and push name: Build and push
id: build-docker
if: github.event_name == 'push' if: github.event_name == 'push'
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
@ -131,7 +132,7 @@ jobs:
#if: github.event == 'push' && github.ref == 'refs/heads/develop' #if: github.event == 'push' && github.ref == 'refs/heads/develop'
working-directory: ether-charts working-directory: ether-charts
run: | run: |
sed -i 's/tag: ".*"/tag: "${{ steps.meta.outputs.sha }}"/' values-dev.yaml sed -i 's/tag: ".*"/tag: "${{ steps.build-docker.outputs.digest }}"/' values-dev.yaml
- name: Commit and push changes - name: Commit and push changes
working-directory: ether-charts working-directory: ether-charts
#if: github.event == 'push' && github.ref == 'refs/heads/develop' #if: github.event == 'push' && github.ref == 'refs/heads/develop'