File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## Unreleased
88
9+ ## [ 1.1.4] - 2023-03-10
10+ ### Fixed
11+ - Correctly validate if docker pull was successful
12+
913## [ 1.1.3] - 2023-03-10
1014### Added
1115- Added ` .github/actions/github ` composite action to infer GitHub action repository and ref from GitHub action path
Original file line number Diff line number Diff line change 5050 IMAGE : ${{ inputs.image || inputs.repository }}
5151 TAG : ${{ inputs.tag || inputs.ref }}
5252 DOCKER_REGISTRY_URL : ${{ inputs.docker-registry-url }}
53- run : echo "exit =$(docker pull ${DOCKER_REGISTRY_URL#http*://}/$IMAGE:$TAG; echo $? )" >> $GITHUB_OUTPUT
53+ run : echo "image =$(docker pull ${DOCKER_REGISTRY_URL#http*://}/$IMAGE:$TAG -q || true )" >> $GITHUB_OUTPUT
5454 shell : bash
55- - if : steps.pull.outputs.exit == 1
55+ - if : steps.pull.outputs.image == ''
5656 env :
5757 REPOSITORY : ${{ inputs.repository }}
5858 REF : ${{ inputs.ref }}
You can’t perform that action at this time.
0 commit comments