Skip to content

Commit

Permalink
Merge pull request #2 from DiniFarb/develop
Browse files Browse the repository at this point in the history
change: publish in workflow
  • Loading branch information
DiniFarb authored Feb 16, 2024
2 parents 8c01397 + 0993dbd commit 71ead76
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 28 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/dockerhub-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,28 @@ jobs:
run: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

- name: Build and push Docker images
run: publish.sh
run: |
activemq_java8_versions=(5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.16.5 5.16.6 5.16.7)
for version in "${activemq_java8_versions[@]}" ; do
echo "Publishing version $version"
docker build -t dinifarb/activemq:$version --build-arg ACTIVEMQ_VERSION=$version .
docker push dinifarb/activemq:$version
done
activemq_java11_versions=(5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.18.1 5.18.2 5.18.3)
for version in "${activemq_java11_versions[@]}" ; do
echo "Publishing version $version"
docker build -t dinifarb/activemq:$version --build-arg ACTIVEMQ_VERSION=$version --build-arg JAVA_VERSION=11 .
docker push dinifarb/activemq:$version
done
activemq_java17_versions=(6.0.0 6.0.1)
for version in "${activemq_java17_versions[@]}" ; do
echo "Publishing version $version"
docker build -t dinifarb/activemq:$version --build-arg ACTIVEMQ_VERSION=$version --build-arg JAVA_VERSION=17 .
docker push dinifarb/activemq:$version
done
27 changes: 0 additions & 27 deletions publish.sh

This file was deleted.

0 comments on commit 71ead76

Please sign in to comment.