Skip to content

Commit

Permalink
fix: sed replace for the docker onbuild image
Browse files Browse the repository at this point in the history
  • Loading branch information
cusspvz committed Sep 30, 2019
1 parent 34375de commit 1e7491a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -23,7 +23,7 @@ after_success:

# Build and deploy
- docker build -f Dockerfile -t $REPO:$COMMIT .
- cat Dockerfile.onbuild | sed "s/gatsbyjs/gatsby:latest/$REPO:$COMMIT/" | docker build -t $REPO:$COMMIT-onbuild -
- cat Dockerfile.onbuild | sed "s#gatsbyjs/gatsby:latest#$REPO:$COMMIT#g" | docker build -t $REPO:$COMMIT-onbuild -
- docker tag $REPO:$COMMIT $REPO:$MAIN_TAG
- docker tag $REPO:$COMMIT-onbuild $REPO:$ONBUILD_TAG

Expand Down

0 comments on commit 1e7491a

Please sign in to comment.