Skip to content

Commit 4a99be8

Browse files
peterzhuamazonVijayanB
authored andcommitted
Add the latest tag during the push (#46)
* Add the latest tag during the push Signed-off-by: Peter Zhu <[email protected]> * Make rm verbose and remove the # before plugin creation scripts Signed-off-by: Peter Zhu <[email protected]>
1 parent c6e6eac commit 4a99be8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

release/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ FROM docker.elastic.co/logstash/logstash-oss:${VERSION}
1616
USER logstash
1717
COPY --chown=logstash:logstash ./logstash-output-opensearch-*.gem /tmp/logstash-output-opensearch.gem
1818
COPY --chown=logstash:logstash ./logstash-opensearch-sample.conf /usr/share/logstash/config/
19-
RUN /usr/share/logstash/bin/logstash-plugin install /tmp/logstash-output-opensearch.gem && rm -f /tmp/logstash-output-opensearch.gem
19+
RUN /usr/share/logstash/bin/logstash-plugin install /tmp/logstash-output-opensearch.gem && rm -vf /tmp/logstash-output-opensearch.gem

release/docker/build-docker-multi-arch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ docker buildx ls | grep $BUILDER_NAME
4242
docker ps | grep $BUILDER_NAME
4343

4444
# Docker Build Images
45-
docker buildx build --platform linux/amd64,linux/arm64 --build-arg VERSION=$version -t opensearchstaging/logstash-oss-with-opensearch-output-plugin:$version -f Dockerfile --push .
45+
docker buildx build --platform linux/amd64,linux/arm64 --build-arg VERSION=$version -t opensearchstaging/logstash-oss-with-opensearch-output-plugin:$version -t opensearchstaging/logstash-oss-with-opensearch-output-plugin:latest -f Dockerfile --push .
4646

0 commit comments

Comments
 (0)