Update README.md #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push images | |
run: | | |
docker build java_coinbase_producer/ -f java_coinbase_producer/java_coinbase_producer.Dockerfile -t kwangjong/java-coinbase-producer | |
docker build spark_stream_processor/ -f spark_stream_processor/spark_stream_processor.Dockerfile -t kwangjong/spark-stream-processor | |
docker build cassandra/ -f cassandra/cassandra.Dockerfile -t kwangjong/cassandra | |
docker build grafana/ -f grafana/grafana.Dockerfile -t kwangjong/grafana | |
docker build hdfs/ -f hdfs/hdfs.Dockerfile -t kwangjong/hdfs | |
docker build hdfs/ -f hdfs/hdfs-nn.Dockerfile -t kwangjong/hdfs-nn | |
docker build hdfs/ -f hdfs/hdfs-dn.Dockerfile -t kwangjong/hdfs-dn | |
docker build go_kafka_consumer/ -f go_kafka_consumer/go_kafka_consumer.Dockerfile -t kwangjong/go-kafka-consumer | |
docker push kwangjong/java-coinbase-producer | |
docker push kwangjong/spark-stream-processor | |
docker push kwangjong/cassandra | |
docker push kwangjong/grafana | |
docker push kwangjong/hdfs | |
docker push kwangjong/hdfs-nn | |
docker push kwangjong/hdfs-dn | |
docker push kwangjong/go-kafka-consumer |