Skip to content

Commit

Permalink
[build] docker/publish.sh doesn't work for pulsar-all and pulsar-st…
Browse files Browse the repository at this point in the history
…andalone images (apache#4705)

*Motivation*

pulsar-all and pulsar-standalone dont tag correct as pulsar image.
so it fails `docker/publish.sh`

*Modifications*

Tag no-repo for both latest and the release version for both pulsar-all and pulsar-standalone

*Verify this change*

After patching this change, `docker/publish.sh` works as expected.
  • Loading branch information
sijie authored Jul 12, 2019
1 parent 22a8020 commit d2164eb
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker/pulsar-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,26 @@
<goal>build</goal>
</goals>
</execution>
<execution>
<id>add-no-repo-and-version</id>
<goals>
<goal>tag</goal>
</goals>
<configuration>
<repository>pulsar-all</repository>
<tag>${project.version}</tag>
</configuration>
</execution>
<execution>
<id>add-no-repo-and-latest</id>
<goals>
<goal>tag</goal>
</goals>
<configuration>
<repository>pulsar-all</repository>
<tag>latest</tag>
</configuration>
</execution>
<execution>
<id>tag-and-push-latest</id>
<goals>
Expand Down
20 changes: 20 additions & 0 deletions docker/pulsar-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,26 @@
<goal>build</goal>
</goals>
</execution>
<execution>
<id>add-no-repo-and-version</id>
<goals>
<goal>tag</goal>
</goals>
<configuration>
<repository>pulsar-standalone</repository>
<tag>${project.version}</tag>
</configuration>
</execution>
<execution>
<id>add-no-repo-and-latest</id>
<goals>
<goal>tag</goal>
</goals>
<configuration>
<repository>pulsar-standalone</repository>
<tag>latest</tag>
</configuration>
</execution>
<execution>
<id>tag-and-push-latest</id>
<goals>
Expand Down

0 comments on commit d2164eb

Please sign in to comment.