diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 981446f..1fbd85b 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -3,7 +3,7 @@ name: CI/CD Pipeline on: push: branches: - - main + - master jobs: build-and-push: @@ -20,17 +20,17 @@ jobs: - name: Tag images run: | - docker tag backend:latest git.reiimer.se/my-org/backend:latest - docker tag backend:latest git.reiimer.se/my-org/backend:$(echo $GITHUB_SHA | cut -c1-7) - docker tag frontend:latest git.reiimer.se/my-org/frontend:latest - docker tag frontend:latest git.reiimer.se/my-org/frontend:$(echo $GITHUB_SHA | cut -c1-7) + docker tag backend:latest git.reiimer.se/filip/backend:latest + docker tag backend:latest git.reiimer.se/filip/backend:$(echo $GITHUB_SHA | cut -c1-7) + docker tag frontend:latest git.reiimer.se/filip/frontend:latest + docker tag frontend:latest git.reiimer.se/filip/frontend:$(echo $GITHUB_SHA | cut -c1-7) - name: Log in to Gitea Registry uses: docker/login-action@v3 with: registry: git.reiimer.se - username: ${{ secrets.GITEA_USERNAME }} - password: ${{ secrets.GITEA_PASSWORD }} + username: ${{ secrets.GITEAUSERNAME }} + password: ${{ secrets.GITEAPASSWORD }} - name: Push backend image run: |