Skip to content

Commit

Permalink
2024-06-20 11:33 - updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 20, 2024
1 parent a22f5a3 commit a82fd47
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/actions/docker_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,18 @@ runs:
- name: "Image Name"
shell: bash
id: image_name
run: echo "name=${{ inputs.image }}:${{ steps.meta.outputs.version }}" >> $GITHUB_OUTPUT
run: echo "name=${{ inputs.image }}:${{env.TAG_PREFIX}}${{ steps.meta.outputs.version }}" >> $GITHUB_OUTPUT
- name: "Check Image"
id: image_status
shell: bash
run: |
run: |
set +e
echo "::notice::ℹ Checking checksum for ${{ steps.image_name.outputs.name }}"
image_checksum=$(regctl image inspect -p linux/amd64 \
image_checksum=$(regctl image inspect \
-p linux/amd64 \
--format '{{index .Config.Labels "checksum"}}' \
${{ steps.image_name.outputs.name }} )
-v fatal \
${{ steps.image_name.outputs.name }} 2>/dev/null)
code_checksum="${{ inputs.code_checksum }}"
if [[ -z "$image_checksum" ]]; then
Expand Down

0 comments on commit a82fd47

Please sign in to comment.