From cb8a7c04b9259147d540624a49c614dd596058c1 Mon Sep 17 00:00:00 2001 From: wojciechwoszczek Date: Wed, 6 Dec 2023 18:37:24 +0100 Subject: [PATCH] change the images name to not overlap with ones working perfectly --- .github/workflows/backend.yml | 10 +++++----- .github/workflows/frontend.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index ccfdbbe..f05a51b 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -85,14 +85,14 @@ run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} - name: Build - run: docker build -f Dockerfile-backend.txt . -t app-beans-backend + run: docker build -f Dockerfile-backend.txt . -t app-beans-backend-github-actions - name: Tags run: | - docker tag app-beans-backend ${{ secrets.DOCKER_USER }}/app-beans-backend:${{ github.sha }} - docker tag app-beans-backend ${{ secrets.DOCKER_USER }}/app-beans-backend:latest + docker tag app-beans-backend-github-actions ${{ secrets.DOCKER_USER }}/app-beans-backend-github-actions:${{ github.sha }} + docker tag app-beans-backend-github-actions ${{ secrets.DOCKER_USER }}/app-beans-backend-github-actions:latest - name: Push run: | - docker push ${{ secrets.DOCKER_USER }}/app-beans-backend:${{ github.sha }} - docker push ${{ secrets.DOCKER_USER }}/app-beans-backend:latest \ No newline at end of file + docker push ${{ secrets.DOCKER_USER }}/app-beans-backend-github-actions:${{ github.sha }} + docker push ${{ secrets.DOCKER_USER }}/app-beans-backend-github-actions:latest \ No newline at end of file diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 75355e0..c57ac13 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -45,14 +45,14 @@ run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} - name: Build - run: docker build -f Dockerfile-frontend.txt . -t app-beans-frontend + run: docker build -f Dockerfile-frontend.txt . -t app-beans-frontend-github-actions - name: Tags run: | - docker tag app-beans-frontend ${{ secrets.DOCKER_USER }}/app-beans-frontend:${{ github.sha }} - docker tag app-beans-frontend ${{ secrets.DOCKER_USER }}/app-beans-frontend:latest + docker tag app-beans-frontend-github-actions ${{ secrets.DOCKER_USER }}/app-beans-frontend-github-actions:${{ github.sha }} + docker tag app-beans-frontend-github-actions ${{ secrets.DOCKER_USER }}/app-beans-frontend-github-actions:latest - name: Push run: | - docker push ${{ secrets.DOCKER_USER }}/app-beans-frontend:${{ github.sha }} - docker push ${{ secrets.DOCKER_USER }}/app-beans-frontend:latest \ No newline at end of file + docker push ${{ secrets.DOCKER_USER }}/app-beans-frontend-github-actions:${{ github.sha }} + docker push ${{ secrets.DOCKER_USER }}/app-beans-frontend-github-actions:latest \ No newline at end of file