Skip to content

Commit

Permalink
JH: Fix action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn committed Aug 13, 2024
1 parent 6461515 commit 3254bdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ runs:
id: version
run: |
input=$(echo "${{ github.action_path }}" | rev | cut -d"/" -f1 | rev)
if [[ "${input}" == "master" ]] || [[ -z "${input}" ]]; then
if [[ "${input}" == "master" ]] || [[ "${input}" == "master-jethub" ]] || [[ -z "${input}" ]]; then
input="latest"
fi
echo "version=${input}" >> "$GITHUB_OUTPUT"
- shell: bash
if: ${{ inputs.no-pull == true }}
run: |
docker pull ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }}
docker pull ghcr.io/jethub-homeassistant/amd64-builder:${{ steps.version.outputs.version }}
cosign verify \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp https://github.com/home-assistant/builder/.* \
Expand All @@ -38,7 +38,7 @@ runs:
- shell: bash
id: builder
run: |
builder=$(docker images ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }} -q)
builder=$(docker images ghcr.io/jethub-homeassistant/amd64-builder:${{ steps.version.outputs.version }} -q)
echo "id=$builder" >> "$GITHUB_OUTPUT"
- shell: bash
Expand All @@ -52,7 +52,7 @@ runs:
-v ~/.docker:/root/.docker \
-v ${{ github.workspace }}:/data \
--env-file "${{ github.action_path }}/env_file" \
ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }} \
ghcr.io/jethub-homeassistant/amd64-builder:${{ steps.version.outputs.version }} \
${{ inputs.args }}
- shell: bash
Expand Down

0 comments on commit 3254bdb

Please sign in to comment.