From 96b09b910bc2df73efe3d8668fc97c36d66a2b64 Mon Sep 17 00:00:00 2001 From: Dries Samyn Date: Sun, 20 Feb 2022 16:21:35 +0000 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 51fd377..db846a3 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -29,22 +29,23 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Extract metadata (tags, labels) for Docker - kafkasnoop - id: meta + id: meta-kafksnoop uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: driessamyn/kafkasnoop - + - name: Push Docker image - kafkasnoop uses: akhilerm/tag-push-action@v2.0.0 with: src: driessamyn/kafkasnoop dst: | ${{ steps.meta.outputs.tags }} + - name: Extract metadata (tags, labels) for Docker - kafkasnoop-avro - id: meta - uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 - with: - images: driessamyn/kafkasnoop-avro + id: meta-kafkasnoop-avro + uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 + with: + images: driessamyn/kafkasnoop-avro - name: Push Docker image - kafkasnoop-avro uses: akhilerm/tag-push-action@v2.0.0 @@ -52,15 +53,16 @@ jobs: src: driessamyn/kafkasnoop-avro dst: | ${{ steps.meta.outputs.tags }} + - name: Extract metadata (tags, labels) for Docker - kafkasnoop-wrap - id: meta - uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 - with: - images: driessamyn/kafkasnoop-wrap + id: meta-kafkasnoop-wrap + uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 + with: + images: driessamyn/kafkasnoop-wrap - name: Push Docker image - kafkasnoop-wrap uses: akhilerm/tag-push-action@v2.0.0 with: src: driessamyn/kafkasnoop-wrap dst: | - ${{ steps.meta.outputs.tags }} \ No newline at end of file + ${{ steps.meta.outputs.tags }}