Skip to content

Commit

Permalink
TEST arch and collection
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed May 24, 2023
1 parent 2c1e53b commit de799db
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions utils/build-test-release/action.yml
Expand Up @@ -94,12 +94,16 @@ runs:
dockerRelease ${{ inputs.architecture }} ${{ inputs.collection }} ${{ inputs.images }}
post: for registry in gcr.io ghcr.io docker.io; do docker logout "$registry"; done

- name: Update status
shell: bash
- shell: bash
run: |
# Update status
for image in ${{ inputs.images }}; do
item=hdlc_$(echo "$image" | sed 's#/#--#g' | sed 's/#.*//g').status
item=hdlc_'${{ inputs.architecture }}'_$(echo '${{ inputs.collection }}' | sed 's#/#-#g' )_$(echo "$image" | sed 's#/#--#g' | sed 's/#.*//g').status
date > "$item"
echo "$item"
cat "$item"
GITHUB_TOKEN='${{ github.token }}' gh release upload status "$item" --clobber -R hdl/containers
curl -fsSL https://github.com/hdl/containers/releases/download/status/"$item" > "${item%.*}".compare
diff "$item" "${item%.*}".compare
Expand Down

0 comments on commit de799db

Please sign in to comment.