From d94a070824ca16ac0f6399792f50d80b491443e4 Mon Sep 17 00:00:00 2001 From: clive Date: Sun, 19 May 2024 13:41:28 +1000 Subject: [PATCH] Commit: Add action yaml. --- .gitea/workflows/default.yml | 6 +++--- plushealthtech/.gitea/workflows/default.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/default.yml b/.gitea/workflows/default.yml index c5ff3c6..b3c8082 100644 --- a/.gitea/workflows/default.yml +++ b/.gitea/workflows/default.yml @@ -18,10 +18,10 @@ jobs: registry: https://registry.rokoh.com - name: Build Docker image - run: docker build . -t rokoh:latest -f plushealthtech/Dockerfile + run: docker build . -t plushealthtech:latest -f plushealthtech/Dockerfile - name: Tag Docker image - run: docker tag rokoh:latest registry.rokoh.com/plushealthtech:latest + run: docker tag plushealthtech:latest registry.rokoh.com/plushealthtech:latest - name: Push Docker image to registry run: docker push registry.rokoh.com/plushealthtech:latest @@ -39,7 +39,7 @@ jobs: docker image rm plushealthtech:latest fi docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/plushealthtech:latest - docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/plushealthtech + docker run -d -p 2000:80 --restart=always --name plushealthtech registry.rokoh.com/plushealthtech docker image prune -f - name: Prune Docker resources diff --git a/plushealthtech/.gitea/workflows/default.yml b/plushealthtech/.gitea/workflows/default.yml index c5ff3c6..b3c8082 100644 --- a/plushealthtech/.gitea/workflows/default.yml +++ b/plushealthtech/.gitea/workflows/default.yml @@ -18,10 +18,10 @@ jobs: registry: https://registry.rokoh.com - name: Build Docker image - run: docker build . -t rokoh:latest -f plushealthtech/Dockerfile + run: docker build . -t plushealthtech:latest -f plushealthtech/Dockerfile - name: Tag Docker image - run: docker tag rokoh:latest registry.rokoh.com/plushealthtech:latest + run: docker tag plushealthtech:latest registry.rokoh.com/plushealthtech:latest - name: Push Docker image to registry run: docker push registry.rokoh.com/plushealthtech:latest @@ -39,7 +39,7 @@ jobs: docker image rm plushealthtech:latest fi docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/plushealthtech:latest - docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/plushealthtech + docker run -d -p 2000:80 --restart=always --name plushealthtech registry.rokoh.com/plushealthtech docker image prune -f - name: Prune Docker resources