Skip to content

Commit

Permalink
Fix quoting of environment variable in sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Jun 14, 2020
1 parent f49d786 commit a58cfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
script:
- echo "$DOCKER_ACCESS_TOKEN" | docker login -u bkimminich --password-stdin
- if [[ "$TRAVIS_BRANCH" == "develop" ]]; then sed -i 's/latest/snapshot/g' multi-arch-manifest.yaml; fi
- if [[ "$TRAVIS_BRANCH" == "$TRAVIS_TAG" ]]; then sed -i 's/latest/$TRAVIS_TAG/g' multi-arch-manifest.yaml; fi
- if [[ "$TRAVIS_BRANCH" == "$TRAVIS_TAG" ]]; then sed -i 's/latest/'"$TRAVIS_TAG"'/g' multi-arch-manifest.yaml; fi
- "./manifest-tool push from-spec multi-arch-manifest.yaml"
notifications:
webhooks:
Expand Down

0 comments on commit a58cfa5

Please sign in to comment.