From 3a925f74abafd334fa79a74e9619cdb1d59d2053 Mon Sep 17 00:00:00 2001 From: Tolfx Date: Mon, 10 Apr 2023 23:58:13 +0200 Subject: [PATCH] feat: added build numbers --- .github/workflows/docker-admin.yml | 4 ++-- .github/workflows/docker-customer.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-admin.yml b/.github/workflows/docker-admin.yml index 191db48..bdb6ae5 100644 --- a/.github/workflows/docker-admin.yml +++ b/.github/workflows/docker-admin.yml @@ -23,6 +23,6 @@ jobs: run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - name: Build the Docker image - run: docker build . --file ./apps/admin/Dockerfile --tag tolfixorg/cpg-admin:latest + run: docker build . --file ./apps/admin/Dockerfile --tag tolfixorg/cpg-admin:build-${{github.run_number}} - name: Docker push - run: docker push tolfixorg/cpg-admin:latest + run: docker push tolfixorg/cpg-admin:build-${{github.run_number}} diff --git a/.github/workflows/docker-customer.yml b/.github/workflows/docker-customer.yml index a106d61..606b771 100644 --- a/.github/workflows/docker-customer.yml +++ b/.github/workflows/docker-customer.yml @@ -24,6 +24,6 @@ jobs: run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - name: Build the Docker image - run: docker build . --file Dockerfile_CUSTOMER --tag tolfixorg/cpg-customer:latest + run: docker build . --file Dockerfile_CUSTOMER --tag tolfixorg/cpg-customer:build-${{github.run_number}} - name: Docker push - run: docker push tolfixorg/cpg-customer:latest + run: docker push tolfixorg/cpg-customer:build-${{github.run_number}}