Fixed docker run

This commit is contained in:
SamTV12345 2025-04-07 21:18:34 +02:00 committed by SamTV12345
parent f8239863d8
commit c130715b32

View file

@ -6,7 +6,6 @@ on:
push: push:
branches: branches:
- 'develop' - 'develop'
- 'feature/update-tag-on-push'
paths-ignore: paths-ignore:
- 'doc/**' - 'doc/**'
tags: tags:
@ -131,13 +130,13 @@ jobs:
repository: ether/ether-charts repository: ether/ether-charts
token: ${{ secrets.ETHER_CHART_TOKEN }} token: ${{ secrets.ETHER_CHART_TOKEN }}
- name: Update tag in values-dev.yaml - name: Update tag in values-dev.yaml
#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.build-docker.outputs.digest }}"/' 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'
run: | run: |
git config --global user.name 'github-actions[bot]' git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com' git config --global user.email 'github-actions[bot]@users.noreply.github.com'