Skip to content

Commit

Permalink
add docker_md5 to cache update flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Apr 24, 2024
1 parent d3e3987 commit 7083766
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cache-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
runs-on: ubuntu-22.04
outputs:
go_code_md5: ${{ steps.vars.outputs.go_code_md5 }}
docker_md5: ${{ steps.vars.outputs.docker_md5 }}
chart_version: ${{ steps.vars.outputs.chart_version }}
steps:
- name: Checkout Repository
Expand All @@ -32,6 +33,7 @@ jobs:
id: vars
run: |
./.github/scripts/variables.sh go_code_md5 >> $GITHUB_OUTPUT
./.github/scripts/variables.sh docker_md5 >> $GITHUB_OUTPUT
source .github/data/version.txt
echo "chart_version=${HELM_CHART_VERSION}" >> $GITHUB_OUTPUT
cat $GITHUB_OUTPUT
Expand Down Expand Up @@ -90,6 +92,7 @@ jobs:
platforms: ${{ matrix.platforms }}
image: ${{ matrix.image }}
go-md5: ${{ needs.checks.outputs.go_code_md5 }}
base-image-md5: ${{ needs.checks.outputs.docker_md5 }}
publish-image: false
forked-workflow: true
permissions:
Expand Down Expand Up @@ -119,6 +122,7 @@ jobs:
image: ${{ matrix.image }}
target: ${{ matrix.target }}
go-md5: ${{ needs.checks.outputs.go_code_md5 }}
base-image-md5: ${{ needs.checks.outputs.docker_md5 }}
release-url: ${{ needs.release-notes.outputs.release-url }}
publish-image: false
forked-workflow: true
Expand Down Expand Up @@ -173,6 +177,7 @@ jobs:
image: ${{ matrix.image }}
target: ${{ matrix.target }}
go-md5: ${{ needs.checks.outputs.go_code_md5 }}
base-image-md5: ${{ needs.checks.outputs.docker_md5 }}
nap_modules: ${{ matrix.nap_modules }}
release-url: ${{ needs.release-notes.outputs.release-url }}
publish-image: false
Expand Down

0 comments on commit 7083766

Please sign in to comment.