Skip to content

Commit 4129593

Browse files
committed
Fixed replacing digest
1 parent 8d96765 commit 4129593

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
password: ${{ secrets.DOCKERHUB_TOKEN }}
104104
-
105105
name: Build and push
106+
id: build-docker
106107
if: github.event_name == 'push'
107108
uses: docker/build-push-action@v6
108109
with:
@@ -131,7 +132,7 @@ jobs:
131132
#if: github.event == 'push' && github.ref == 'refs/heads/develop'
132133
working-directory: ether-charts
133134
run: |
134-
sed -i 's/tag: ".*"/tag: "${{ steps.meta.outputs.sha }}"/' values-dev.yaml
135+
sed -i 's/tag: ".*"/tag: "${{ steps.build-docker.outputs.digest }}"/' values-dev.yaml
135136
- name: Commit and push changes
136137
working-directory: ether-charts
137138
#if: github.event == 'push' && github.ref == 'refs/heads/develop'

0 commit comments

Comments
 (0)